0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / IGESDimen / IGESDimen_ToolNewGeneralNote.cxx
index 9aaf830..f0f95b9 100755 (executable)
@@ -187,7 +187,7 @@ void  IGESDimen_ToolNewGeneralNote::ReadOwnParams
              slantAngles->SetValue(i, slantAngle);
           }
        else
-         slantAngles->SetValue(i, PI/2);
+         slantAngles->SetValue(i, M_PI/2);
 
        //st = PR.ReadReal(PR.Current(), "Rotation Angle", rotationAngle); //szv#4:S4163:12Mar99 moved in if
        if (PR.ReadReal(PR.Current(), "Rotation Angle", rotationAngle))