]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix compilation warnings.
authorrnv <rnv@opencascade.com>
Tue, 22 Nov 2011 10:00:51 +0000 (10:00 +0000)
committerrnv <rnv@opencascade.com>
Tue, 22 Nov 2011 10:00:51 +0000 (10:00 +0000)
src/Container/Container_i.cxx
src/Container/Container_init_python.hxx

index 8f94a7a986adab49f388563b9286871eae075fe5..30a91f44daabc127752495b5e249b1fa480ad41d 100644 (file)
@@ -56,6 +56,10 @@ int SIGUSR1 = 1000;
 #include "SALOME_NamingService.hxx"
 #include "Basics_Utils.hxx"
 
+#ifdef _XOPEN_SOURCE
+#undef _XOPEN_SOURCE
+#endif
+
 #include <Python.h>
 #include "Container_init_python.hxx"
 
index 783a7fcf9017ea2574e7f39c6da5105c2137e0e8..4dc515f56fb6bcf759034665ff583187170ab186 100644 (file)
 #include <SALOMEconfig.h>
 
 #include <pthread.h>  // must be before Python.h !
+
+#ifdef _XOPEN_SOURCE
+#undef _XOPEN_SOURCE
+#endif
 #include <Python.h>