Android Clang doesn't support TLS, so do the same thing as OSX.

This commit is contained in:
Ryan Houdek 2013-04-18 22:52:53 -05:00
parent f811d11863
commit 491ffabb56

View File

@ -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