Android Clang doesn't support TLS, so do the same thing as OSX.
This commit is contained in:
1 parent
f811d11863
commit
491ffabb56
1 file changed
+2
-1
@@ -4,7 +4,8 @@
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
// Neither Android nor OS X support TLS
|
||||
#if defined(__APPLE__) || (ANDROID && __clang__)
|
||||
#define __thread
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user