Merge pull request #857 from dpoe/master

Fix for 8-byte compare-and-swap on older GCC
This commit is contained in:
Marc-André Moreau 2012-12-15 09:02:21 -08:00
commit 74b74cc482

View File

@ -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>