]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix compilation warnings
authorvsr <vsr@opencascade.com>
Wed, 2 Nov 2011 15:40:05 +0000 (15:40 +0000)
committervsr <vsr@opencascade.com>
Wed, 2 Nov 2011 15:40:05 +0000 (15:40 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 5add18a61e93188c4349a181d64b255d07da3bd9..0f03c092616068f22cdc7b0b7dfb51489cd0a353 100644 (file)
@@ -23,6 +23,9 @@
 //  Author : Nicolas REJNERI, Open CASCADE S.A.S.
 
 #include <Standard_math.hxx>  // E.A. must be included before Python.h to fix compilation on windows
+#ifdef HAVE_FINITE
+#undef HAVE_FINITE            // VSR: avoid compilation warning on Linux : "HAVE_FINITE" redefined
+#endif
 #include "Python.h"
 //  SMESH includes
 #include "SMESHGUI.h"