misc.cpp: Check if ANDROID macro is defined before checking its value
This commit is contained in:
parent
75852c8319
commit
96c20a2ed2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue