1
0
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:
DBV
2011-12-16 08:50:03 +00:00
committed by bugmaster
parent bc650d4170
commit c6541a0c86
438 changed files with 2142 additions and 2188 deletions

View File

@@ -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 */