]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
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
authorrnv <rnv@opencascade.com>
Tue, 22 Nov 2011 11:10:32 +0000 (11:10 +0000)
committerrnv <rnv@opencascade.com>
Tue, 22 Nov 2011 11:10:32 +0000 (11:10 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.hxx

index 3aea424b187db99e6e3c15ff7792e3ec391fb73b..6733fc8e0a62b511833423cb2150d81d070aba89 100644 (file)
 #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"