From 96c20a2ed260113d77ce9580f2cfc742273290fe Mon Sep 17 00:00:00 2001 From: "Paul \"Dettorer\" Hervot" Date: Sun, 29 Nov 2015 10:22:53 +0100 Subject: [PATCH] misc.cpp: Check if ANDROID macro is defined before checking its value --- src/common/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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