0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / BRepTest / BRepTest_SurfaceCommands.cxx
index f512179..e34582a 100755 (executable)
@@ -456,7 +456,7 @@ static Standard_Integer encoderegularity (Draw_Interpretor& ,
     BRepLib::EncodeRegularity(sh);
   else {
     Standard_Real Tol = atof(a[2]);
-    Tol *= PI/180.;
+    Tol *= M_PI/180.;
     BRepLib::EncodeRegularity(sh, Tol);
   }
   return 0;