macOS: fix atomics using deprecated functions instead of compiler intrinsics, when SDL is built with the Xcode project.

Alex Szpakowski 2019-07-27 14:08:51 -03:00
parent dc714389f0
commit 39e8b007a7
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@
#define HAVE_SYSCONF 1
#define HAVE_SYSCTLBYNAME 1
#define HAVE_GCC_ATOMICS 1
/* Enable various audio drivers */
#define SDL_AUDIO_DRIVER_COREAUDIO 1
#define SDL_AUDIO_DRIVER_DISK 1