mirror of https://github.com/encounter/SDL.git
macOS: fix atomics using deprecated functions instead of compiler intrinsics, when SDL is built with the Xcode project.
This commit is contained in:
parent
dc714389f0
commit
39e8b007a7
|
@ -130,6 +130,8 @@
|
||||||
#define HAVE_SYSCONF 1
|
#define HAVE_SYSCONF 1
|
||||||
#define HAVE_SYSCTLBYNAME 1
|
#define HAVE_SYSCTLBYNAME 1
|
||||||
|
|
||||||
|
#define HAVE_GCC_ATOMICS 1
|
||||||
|
|
||||||
/* Enable various audio drivers */
|
/* Enable various audio drivers */
|
||||||
#define SDL_AUDIO_DRIVER_COREAUDIO 1
|
#define SDL_AUDIO_DRIVER_COREAUDIO 1
|
||||||
#define SDL_AUDIO_DRIVER_DISK 1
|
#define SDL_AUDIO_DRIVER_DISK 1
|
||||||
|
|
Loading…
Reference in New Issue