diff options
author | Fred Hornsey <fred@hornsey.us> | 2019-06-06 17:01:39 -0500 |
---|---|---|
committer | Fred Hornsey <fred@hornsey.us> | 2019-06-06 17:01:39 -0500 |
commit | d2eb67e35258d1a67a74bf8a4da5258fc568f9d2 (patch) | |
tree | 9cf3ba68e9f05a761b4ed746d54aba4db6d6c320 | |
parent | 64919009377b0dac2e7fec2a10fd61b0bad06e78 (diff) | |
download | ATCD-d2eb67e35258d1a67a74bf8a4da5258fc568f9d2.tar.gz |
config-android.h: gettid missing in some older combinations
-rw-r--r-- | ACE/ace/config-android.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ACE/ace/config-android.h b/ACE/ace/config-android.h index baf923cf162..c30389f1f64 100644 --- a/ACE/ace/config-android.h +++ b/ACE/ace/config-android.h @@ -88,6 +88,13 @@ # define ACE_HAS_SEMUN #endif +#if ACE_ANDROID_NDK_LESS_THAN(15, 0) && __ANDROID_API__ < 21 +// NOTE: The && is correct, SYS_GETTID is present in API 16 in r15 onwards +# ifdef ACE_HAS_GETTID +# undef ACE_HAS_GETTID +# endif +#endif + // NDK has telldir() and seekdir() by 15c #if ACE_ANDROID_NDK_LESS_THAN(15, 2) || __ANDROID_API__ < 23 # define ACE_LACKS_TELLDIR |