mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
SDL2: temp macOS compile fix for bundled SDL2 pending the 2.0.14 release [R. Belmont]
This commit is contained in:
parent
728a0937fc
commit
29cff632d3
4
3rdparty/SDL2/src/atomic/SDL_spinlock.c
vendored
4
3rdparty/SDL2/src/atomic/SDL_spinlock.c
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user