From: vsr Date: Wed, 2 Nov 2011 14:27:38 +0000 (+0000) Subject: Fix compilation warnings X-Git-Tag: V6_4_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3d2a8a459f6884f67097888c1ab602f90e8e38d;p=modules%2Fgeom.git Fix compilation warnings --- diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 5d138bbf7..fe18dda8f 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -23,6 +23,9 @@ // Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com) #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 "GeometryGUI.h" #include "GeometryGUI_Operations.h"