misc.cpp: Check if ANDROID macro is defined before checking its value

This commit is contained in:
Paul "Dettorer" Hervot 2015-11-29 10:22:53 +01:00 committed by Paul Dettorer Hervot
parent 75852c8319
commit 96c20a2ed2

View File

@ -13,7 +13,7 @@
#endif #endif
// Neither Android nor OS X support TLS // Neither Android nor OS X support TLS
#if defined(__APPLE__) || (ANDROID && __clang__) #if defined(__APPLE__) || (defined(ANDROID) && ANDROID && __clang__)
#define __thread #define __thread
#endif #endif