projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git]
/
src
/
DDataStd
/
DDataStd_Sample.cxx
diff --git
a/src/DDataStd/DDataStd_Sample.cxx
b/src/DDataStd/DDataStd_Sample.cxx
index
9251e51
..
c06c614
100755
(executable)
--- a/
src/DDataStd/DDataStd_Sample.cxx
+++ b/
src/DDataStd/DDataStd_Sample.cxx
@@
-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