mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
This commit is contained in:
@@ -29,9 +29,21 @@ __Standard_API double __cdecl acosh ( double );
|
||||
__Standard_API double __cdecl asinh ( double );
|
||||
__Standard_API double __cdecl atanh ( double );
|
||||
|
||||
# define M_SQRT1_2 7.0710678118654752440E-1
|
||||
# ifdef M_SQRT1_2
|
||||
# undef M_SQRT1_2
|
||||
# endif
|
||||
# define M_SQRT1_2 0.707106781186547524401
|
||||
|
||||
# ifdef M_PI_2
|
||||
# undef M_PI_2
|
||||
# endif
|
||||
# define M_PI_2 1.57079632679489661923
|
||||
|
||||
# ifdef M_PI
|
||||
# undef M_PI
|
||||
# endif
|
||||
# define M_PI 3.14159265358979323846
|
||||
|
||||
# endif /* __MATH_WNT_H */
|
||||
|
||||
#endif /* WNT */
|
||||
|
Reference in New Issue
Block a user