mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-09-12 02:36:26 +00:00
Add API check to Android spinlock shim
Android spinlock shim not needed on modern (API 24+) Android, this fixes compiling on Termux Signed-off-by: s00se <95649696+s00se@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user