allow GCC compile with no compare_and_swap_8
This commit is contained in:
parent
ec6effcb1e
commit
d393a26790
@ -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