Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Android Clang doesn't support TLS, so do the same thing as OSX.
  • Loading branch information
Sonicadvance1 committed Apr 19, 2013
1 parent f811d11 commit 491ffab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/Common/Src/Misc.cpp
Expand Up @@ -4,7 +4,8 @@

#include "Common.h"

#ifdef __APPLE__
// Neither Android nor OS X support TLS
#if defined(__APPLE__) || (ANDROID && __clang__)
#define __thread
#endif

Expand Down

0 comments on commit 491ffab

Please sign in to comment.