diff options
Diffstat (limited to 'mfbt/ThreadLocal.h')
-rw-r--r-- | mfbt/ThreadLocal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mfbt/ThreadLocal.h b/mfbt/ThreadLocal.h index 55c9fbcac6..891b2cdd5d 100644 --- a/mfbt/ThreadLocal.h +++ b/mfbt/ThreadLocal.h @@ -240,7 +240,7 @@ inline void ThreadLocal<T, Storage>::set(const T aValue) { # define MOZ_THREAD_LOCAL(TYPE) \ thread_local ::mozilla::detail::ThreadLocal< \ TYPE, ::mozilla::detail::ThreadLocalNativeStorage> -#elif defined(HAVE_THREAD_TLS_KEYWORD) +#elif defined(HAVE_THREAD_TLS_KEYWORD) && !defined(MOZ_LINKER) # define MOZ_THREAD_LOCAL(TYPE) \ __thread ::mozilla::detail::ThreadLocal< \ TYPE, ::mozilla::detail::ThreadLocalNativeStorage> |