From 8b41ed2e6fcd54e780af38836d152512e8624f6c Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 2 Nov 2011 15:40:05 +0000 Subject: [PATCH] Fix compilation warnings --- src/SMESHGUI/SMESHGUI.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 5add18a61..0f03c0926 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -23,6 +23,9 @@ // Author : Nicolas REJNERI, Open CASCADE S.A.S. #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" // SMESH includes #include "SMESHGUI.h" -- 2.39.2