mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-26 08:37:03 +08:00
Fix compilation error on vc12 (MSVC++ 12.0)
This commit is contained in:
@@ -62,7 +62,7 @@ static void deallocate_message(Standard_CString aMessage)
|
||||
// where it is available.
|
||||
#if (defined(__INTEL_COMPILER) && __INTEL_COMPILER > 1400) || \
|
||||
(defined(__clang__)) /* assume standard CLang > 3.3 or XCode >= 8 */ || \
|
||||
(defined(_MSC_VER) && _MSC_VER >= 1800) /* MSVC++ >= 14 */ || \
|
||||
(defined(_MSC_VER) && _MSC_VER >= 1900) /* MSVC++ >= 14 */ || \
|
||||
(defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8))) /* GCC >= 4.8 */
|
||||
#define Standard_THREADLOCAL thread_local
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user