mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user