Salome HOME
Fix compilation warnings
[modules/smesh.git] / 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"