Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc6b4e7
)
Fix compilation warnings.
V6_4_0_BR
V6_4_0_WIN_BR
V6_4_BR
V6_4_0
V6_4_0rc1
V6_4_0rc2
V6_4_0rc3
author
rnv
<rnv@opencascade.com>
Tue, 22 Nov 2011 11:10:32 +0000
(11:10 +0000)
committer
rnv
<rnv@opencascade.com>
Tue, 22 Nov 2011 11:10:32 +0000
(11:10 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.hxx
patch
|
blob
|
history
diff --git
a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.hxx
b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.hxx
index 3aea424b187db99e6e3c15ff7792e3ec391fb73b..6733fc8e0a62b511833423cb2150d81d070aba89 100644
(file)
--- a/
src/BLSURFPlugin/BLSURFPlugin_BLSURF.hxx
+++ b/
src/BLSURFPlugin/BLSURFPlugin_BLSURF.hxx
@@
-37,6
+37,15
@@
#ifdef HAVE_FINITE
#undef HAVE_FINITE // VSR: avoid compilation warning on Linux : "HAVE_FINITE" redefined
#endif
+// rnv: avoid compilation warning on Linux : "_POSIX_C_SOURCE" and "_XOPEN_SOURCE" are redefined
+#ifdef _POSIX_C_SOURCE
+#undef _POSIX_C_SOURCE
+#endif
+
+#ifdef _XOPEN_SOURCE
+#undef _XOPEN_SOURCE
+#endif
+
#include <Python.h>
#include "SMESH_2D_Algo.hxx"
#include "SMESH_Mesh.hxx"