]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix compilation warnings
authorvsr <vsr@opencascade.com>
Thu, 3 Nov 2011 09:21:12 +0000 (09:21 +0000)
committervsr <vsr@opencascade.com>
Thu, 3 Nov 2011 09:21:12 +0000 (09:21 +0000)
src/VISUGUI/VisuGUI.cxx

index 64f2fa6fbbd276f3a067a7c5f7f8775a79a9eb7a..03c463be8f23075c8fd191b2659a93d9e0b368bf 100644 (file)
@@ -26,6 +26,9 @@
 //  Module : VISU
 
 #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 "VisuGUI.h"