0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / DDataStd / DDataStd_Sample.cxx
index 9251e51..c06c614 100755 (executable)
@@ -79,7 +79,7 @@ static void Sample()
   // Filling array
 
   for(Standard_Integer j = realarray->Lower(); j<= realarray->Upper(); j++) {
-    realarray->SetValue(j, Standard_PI*j); 
+    realarray->SetValue(j, M_PI * j); 
   }
 
   // Getting length of array