summaryrefslogtreecommitdiff
path: root/indra/llcommon/llthread.cpp
diff options
context:
space:
mode:
authorCinder <cinder@sdf.org>2014-11-19 22:27:36 -0700
committerCinder <cinder@sdf.org>2014-11-19 22:27:36 -0700
commit6df6aef62176328c3b0fafa43fd611d4e25ef35c (patch)
tree055860a356bd100d94fbc5f782c04314d969e740 /indra/llcommon/llthread.cpp
parent5f608c0a23487ae78cdc134b1e685a6c3cd4ec19 (diff)
OPEN-282 - Define LL_THREAD_LOCAL for our platforms in order to unify TLS support
Diffstat (limited to 'indra/llcommon/llthread.cpp')
-rwxr-xr-xindra/llcommon/llthread.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/llcommon/llthread.cpp b/indra/llcommon/llthread.cpp
index 22e8179b6c..c3f235c6ee 100755
--- a/indra/llcommon/llthread.cpp
+++ b/indra/llcommon/llthread.cpp
@@ -92,11 +92,7 @@ void set_thread_name( DWORD dwThreadID, const char* threadName)
//
//----------------------------------------------------------------------------
-#if LL_WINDOWS
-U32 __declspec(thread) sThreadID = 0;
-#else
-U32 __thread sThreadID = 0;
-#endif
+U32 LL_THREAD_LOCAL sThreadID = 0;
U32 LLThread::sIDIter = 0;