From b3d2a8a459f6884f67097888c1ab602f90e8e38d Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 2 Nov 2011 14:27:38 +0000 Subject: [PATCH] Fix compilation warnings --- src/GEOMGUI/GeometryGUI.cxx | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.39.2