Merge pull request #857 from dpoe/master
Fix for 8-byte compare-and-swap on older GCC
This commit is contained in:
commit
74b74cc482
@ -271,7 +271,7 @@ LONGLONG InterlockedCompareExchange64(LONGLONG volatile *Destination, LONGLONG E
|
||||
return previousValue;
|
||||
}
|
||||
|
||||
#elif ANDROID
|
||||
#elif ANDROID || (defined(__GNUC__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8))
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user