Browse Source

Reverted to original function.

woollybah 10 years ago
parent
commit
b02a2095b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      blitz.mod/blitz_thread.c

+ 1 - 1
blitz.mod/blitz_thread.c

@@ -280,7 +280,7 @@ int bbThreadResume( BBThread *thread ){
 //***** Atomic ops *****
 int bbAtomicCAS( volatile int *addr,int old,int new_val ){
 #ifndef __ANDROID__
-	return AO_int_compare_and_swap(addr, old, new_val);
+	return AO_compare_and_swap(addr, old, new_val);
 #else
 	return __sync_val_compare_and_swap(addr, old, new_val);
 #endif