diff --git a/src/common/misc.cpp b/src/common/misc.cpp index 6804ebb0f..1096df95d 100644 --- a/src/common/misc.cpp +++ b/src/common/misc.cpp @@ -13,7 +13,7 @@ #endif // Neither Android nor OS X support TLS -#if defined(__APPLE__) || (ANDROID && __clang__) +#if defined(__APPLE__) || (defined(ANDROID) && ANDROID && __clang__) #define __thread #endif