0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / BOPTools / BOPTools_PaveFiller_3.cxx
index 3739680..2f2e0ba 100755 (executable)
@@ -3304,8 +3304,8 @@ void CorrectTolR3D(BOPTools_PaveFiller& aPF,
   //
   aA=aDN[0].Angle(aDN[1]);
   aA=fabs(aA);
-  if (aA>0.5*PI) {
-    aA=PI-aA;
+  if (aA>0.5*M_PI) {
+    aA=M_PI-aA;
   }
   //
   if (aA<aAmin || aA>aAmax) {