1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +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

@@ -88,7 +88,7 @@ Primitives_OneAxis::Primitives_OneAxis(const TheBuilder& B,
const Standard_Real VMax) :
myBuilder(B),
myAxes(A),
myAngle(2*PI),
myAngle(2*M_PI),
myVMin(VMin),
myVMax(VMax),
myMeridianOffset(0)
@@ -247,7 +247,7 @@ Standard_Boolean Primitives_OneAxis::HasBottom() const
Standard_Boolean Primitives_OneAxis::HasSides() const
{
return 2*PI - myAngle > Precision::Angular();
return 2*M_PI - myAngle > Precision::Angular();
}
//=======================================================================