CDS_EXPORT_API atomics::atomic<size_t> threading::ThreadData::s_nLastUsedProcNo(0);
CDS_EXPORT_API size_t threading::ThreadData::s_nProcCount = 1;
-#if CDS_OS_INTERFACE == CDS_OSI_WINDOWS && CDS_OS_TYPE != CDS_OS_MINGW
+#if CDS_OS_INTERFACE == CDS_OSI_WINDOWS
CDS_EXPORT_API DWORD cds::threading::wintls::Manager::Holder::m_key = TLS_OUT_OF_INDEXES;
-
- __declspec( thread ) threading::msvc_internal::ThreadDataPlaceholder threading::msvc_internal::s_threadData;
- __declspec(thread) threading::ThreadData * threading::msvc_internal::s_pThreadData = nullptr;
-
+# if CDS_COMPILER == CDS_COMPILER_MSVC || CDS_COMPILER == CDS_COMPILER_INTEL
+ __declspec( thread ) threading::msvc_internal::ThreadDataPlaceholder threading::msvc_internal::s_threadData;
+ __declspec(thread) threading::ThreadData * threading::msvc_internal::s_pThreadData = nullptr;
+# endif
#else
pthread_key_t threading::pthread::Manager::Holder::m_key;