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