From: apn Date: Thu, 29 Dec 2016 17:24:44 +0000 (+0300) Subject: Fix compilation error on vc12 (MSVC++ 12.0) X-Git-Tag: V_01_2017_06_30~55 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=9bcfd6f6499ddcaf4b68baea5ce77527b244730b;p=occt-copy.git Fix compilation error on vc12 (MSVC++ 12.0) --- 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