1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

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
This commit is contained in:
razmyslovich 2014-06-10 13:50:14 +02:00 committed by apn
parent e9216c6acf
commit acbb658afe

View File

@ -18,7 +18,10 @@
#ifdef _MSC_VER
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
#include <math.h>
// MSVC versions prior to 12 did not provided acosh, asinh, atanh functions in standard library