From: razmyslovich Date: Tue, 10 Jun 2014 11:50:14 +0000 (+0200) Subject: 0024998: The incorrect _USE_MATH_DEFINES definition in Standard_math.hxx prevents... X-Git-Tag: V6_8_0_beta~263 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=acbb658afeb2364e1fc1994a81e540d8600a3fa7;p=occt-copy.git 0024998: The incorrect _USE_MATH_DEFINES definition in Standard_math.hxx prevents the clean build for client applications Add #ifndef clause to avoid redefinition compile error --- diff --git a/src/Standard/Standard_math.hxx b/src/Standard/Standard_math.hxx index d3a1a83f73..4fa39d0d1a 100644 --- a/src/Standard/Standard_math.hxx +++ b/src/Standard/Standard_math.hxx @@ -18,7 +18,10 @@ #ifdef _MSC_VER +#ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES +#endif + #include // MSVC versions prior to 12 did not provided acosh, asinh, atanh functions in standard library