Skip to content

Commit b106c4a

Browse files
triplefrokhinip
authored andcommitted
Use SYS_gettid on Android.
Signed-off-by: Kim Topley <ktopley@apple.com>
1 parent f9b904f commit b106c4a

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/queue.c

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

7235-
#ifndef __ANDROID__
72367235
#ifdef SYS_gettid
72377236
DISPATCH_ALWAYS_INLINE
72387237
static inline pid_t
@@ -7257,7 +7256,6 @@ _gettid(void)
72577256
#else
72587257
#error "SYS_gettid unavailable on this system"
72597258
#endif /* SYS_gettid */
7260-
#endif /* ! __ANDROID__ */
72617259

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

src/unifdef.T1e1x2 renamed to src/unifdef.H9ar29

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

7842-
#ifndef __ANDROID__
78437842
#ifdef SYS_gettid
78447843
DISPATCH_ALWAYS_INLINE
78457844
static inline pid_t
@@ -7864,7 +7863,6 @@ _gettid(void)
78647863
#else
78657864
#error "SYS_gettid unavailable on this system"
78667865
#endif /* SYS_gettid */
7867-
#endif /* ! __ANDROID__ */
78687866

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

0 commit comments

Comments
 (0)