From acbb658afeb2364e1fc1994a81e540d8600a3fa7 Mon Sep 17 00:00:00 2001 From: razmyslovich Date: Tue, 10 Jun 2014 13:50:14 +0200 Subject: [PATCH] 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 --- src/Standard/Standard_math.hxx | 3 +++ 1 file changed, 3 insertions(+) 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