SDL2: temp macOS compile fix for bundled SDL2 pending the 2.0.14 release [R. Belmont]

This commit is contained in:
arbee 2020-12-12 21:58:26 -05:00
parent 728a0937fc
commit 29cff632d3

View file

@ -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)