Remove the `OR ANDROID` condition to set `BSON_HAVE_SYSCALL_TID` to 0.
@@ -135,7 +135,7 @@ else ()
endif ()
set (BSON_EXTRA_ALIGN 1)
CHECK_SYMBOL_EXISTS(SYS_gettid sys/syscall.h BSON_HAVE_SYSCALL_TID)
- if (NOT BSON_HAVE_SYSCALL_TID OR APPLE OR ANDROID)
+ if (NOT BSON_HAVE_SYSCALL_TID OR APPLE)
set (BSON_HAVE_SYSCALL_TID 0)
endif ()
CHECK_INCLUDE_FILE(strings.h HAVE_STRINGS_H)
