Merge pull request #3480 from s00se/spinlock-api-gate

Add API check to Android spinlock shim
This commit is contained in:
Iceman authored and GitHub committed 2026-08-20 16:24:33 +07:00
commit ad4a94b1a5
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@
# include "pthread_spin_lock_shim.h" // spinlock shim for OSX ..
#endif
#ifdef __ANDROID__
#if defined(__ANDROID__) && __ANDROID_API__ < 24
//Spinlock patch for building with Android NDK
typedef pthread_mutex_t pthread_spinlock_t;