Merge pull request #3480 from s00se/spinlock-api-gate
Add API check to Android spinlock shim
This commit is contained in:
1 file changed
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
# include "pthread_spin_lock_shim.h" // spinlock shim for OSX ..
|
# include "pthread_spin_lock_shim.h" // spinlock shim for OSX ..
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __ANDROID__
|
#if defined(__ANDROID__) && __ANDROID_API__ < 24
|
||||||
//Spinlock patch for building with Android NDK
|
//Spinlock patch for building with Android NDK
|
||||||
|
|
||||||
typedef pthread_mutex_t pthread_spinlock_t;
|
typedef pthread_mutex_t pthread_spinlock_t;
|
||||||
|
|||||||
Reference in new issue
Block a user