From 491ffabb5685dd816aad30c5183bb6e11b61ebe6 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 18 Apr 2013 22:52:53 -0500 Subject: [PATCH] Android Clang doesn't support TLS, so do the same thing as OSX. --- Source/Core/Common/Src/Misc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/Misc.cpp b/Source/Core/Common/Src/Misc.cpp index b019537f0c..ce42deb4d2 100644 --- a/Source/Core/Common/Src/Misc.cpp +++ b/Source/Core/Common/Src/Misc.cpp @@ -4,7 +4,8 @@ #include "Common.h" -#ifdef __APPLE__ +// Neither Android nor OS X support TLS +#if defined(__APPLE__) || (ANDROID && __clang__) #define __thread #endif