]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix compilation warnings V6_4_0b1
authorvsr <vsr@opencascade.com>
Wed, 2 Nov 2011 14:27:38 +0000 (14:27 +0000)
committervsr <vsr@opencascade.com>
Wed, 2 Nov 2011 14:27:38 +0000 (14:27 +0000)
src/GEOMGUI/GeometryGUI.cxx

index 5d138bbf756226b5d125f311790ab83466f51502..fe18dda8f0071a7fc93ad9963a640d9c42a766f2 100644 (file)
@@ -23,6 +23,9 @@
 //  Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
 
 #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"
 #include "GeometryGUI.h"
 #include "GeometryGUI_Operations.h"