Skip to content

Commit 6c5b3ba

Browse files
Merge pull request #465 from triplef/fix-gettid-android
Use SYS_gettid on Android
2 parents 319bd33 + e1dc228 commit 6c5b3ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/queue.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7296,7 +7296,6 @@ libdispatch_init(void)
72967296
#include <sys/syscall.h>
72977297
#endif
72987298

7299-
#ifndef __ANDROID__
73007299
#ifdef SYS_gettid
73017300
DISPATCH_ALWAYS_INLINE
73027301
static inline pid_t
@@ -7321,7 +7320,6 @@ _gettid(void)
73217320
#else
73227321
#error "SYS_gettid unavailable on this system"
73237322
#endif /* SYS_gettid */
7324-
#endif /* ! __ANDROID__ */
73257323

73267324
#define _tsd_call_cleanup(k, f) do { \
73277325
if ((f) && tsd->k) ((void(*)(void*))(f))(tsd->k); \

0 commit comments

Comments
 (0)