Skip to content

Commit

Permalink
macOS: fix atomics using deprecated functions instead of compiler int…
Browse files Browse the repository at this point in the history
…rinsics, when SDL is built with the Xcode project.
  • Loading branch information
slime73 committed Jul 27, 2019
1 parent dc71438 commit 39e8b00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/SDL_config_macosx.h
Expand Up @@ -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
Expand Down

0 comments on commit 39e8b00

Please sign in to comment.