diff options
Diffstat (limited to '3rdparty/SDL2/src')
-rw-r--r-- | 3rdparty/SDL2/src/atomic/SDL_spinlock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/SDL2/src/atomic/SDL_spinlock.c b/3rdparty/SDL2/src/atomic/SDL_spinlock.c index f582afb4e2c..94876953007 100644 --- a/3rdparty/SDL2/src/atomic/SDL_spinlock.c +++ b/3rdparty/SDL2/src/atomic/SDL_spinlock.c @@ -32,6 +32,10 @@ #include <atomic.h> #endif +#if defined(__MACOSX__) /* !!! MAME change, not required when 2.0.14 is released? */ +#include <libkern/OSAtomic.h> +#endif + /* This function is where all the magic happens... */ SDL_bool SDL_AtomicTryLock(SDL_SpinLock *lock) |