Separated out the minimum functionality that we need from gcc for our spinlock fallback.

This commit is contained in:
Sam Lantinga 2011-01-21 21:42:04 -08:00
parent 68afef61c9
commit 2c31531800
3 changed files with 14 additions and 1 deletions

View file

@ -59,6 +59,7 @@
#undef SIZEOF_VOIDP
#undef SDL_HAS_64BIT_TYPE
#undef HAVE_GCC_ATOMICS
#undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET
/* Comment this if you want to build without any C library requirements */
#undef HAVE_LIBC