From: vsr Date: Thu, 3 Nov 2011 09:21:12 +0000 (+0000) Subject: Fix compilation warnings X-Git-Tag: V6_4_0b1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ff6228bcb33db8fb6a2755c1dbbf8f402100ae3c;p=modules%2Fvisu.git Fix compilation warnings --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 64f2fa6f..03c463be 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -26,6 +26,9 @@ // Module : VISU #include // 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"