Merge pull request #465 from triplef/fix-gettid-android
Use SYS_gettid on Android
diff --git a/src/queue.c b/src/queue.c
index 44cb655..90f3cfa 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -7296,7 +7296,6 @@
#include <sys/syscall.h>
#endif
-#ifndef __ANDROID__
#ifdef SYS_gettid
DISPATCH_ALWAYS_INLINE
static inline pid_t
@@ -7321,7 +7320,6 @@
#else
#error "SYS_gettid unavailable on this system"
#endif /* SYS_gettid */
-#endif /* ! __ANDROID__ */
#define _tsd_call_cleanup(k, f) do { \
if ((f) && tsd->k) ((void(*)(void*))(f))(tsd->k); \