From 9bcfd6f6499ddcaf4b68baea5ce77527b244730b Mon Sep 17 00:00:00 2001 From: apn Date: Thu, 29 Dec 2016 20:24:44 +0300 Subject: [PATCH] Fix compilation error on vc12 (MSVC++ 12.0) --- src/Standard/Standard_Failure.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Standard/Standard_Failure.cxx b/src/Standard/Standard_Failure.cxx index 2e9c8a9b77..2f13debde5 100644 --- a/src/Standard/Standard_Failure.cxx +++ b/src/Standard/Standard_Failure.cxx @@ -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 -- 2.39.5