allow GCC compile with no compare_and_swap_8

This commit is contained in:
Daryl Poe 2012-12-14 15:41:02 -07:00
parent ec6effcb1e
commit d393a26790

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>