mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01: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
1 changed files with 4 additions and 0 deletions
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 a new issue