From: Nabil Ghodbane Date: Thu, 14 Mar 2024 14:37:08 +0000 (+0100) Subject: [bos #41189][Windows] Ensure compatibility with Python 3.9 X-Git-Tag: V9_13_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Ftlpr%2F4%2Fhead;p=plugins%2Fblsurfplugin.git [bos #41189][Windows] Ensure compatibility with Python 3.9 --- diff --git a/src/GUI/BLSURFPluginGUI.cxx b/src/GUI/BLSURFPluginGUI.cxx index f8322b9..2406a3b 100644 --- a/src/GUI/BLSURFPluginGUI.cxx +++ b/src/GUI/BLSURFPluginGUI.cxx @@ -27,7 +27,8 @@ // E.A. : between pymath.h and Standard_math.h which define // E.A. : some same symbols : acosh, asinh, ... #include -#include + #include + #include #endif #include "BLSURFPluginGUI_HypothesisCreator.h" diff --git a/src/GUI/BLSURFPluginGUI_HypothesisCreator.h b/src/GUI/BLSURFPluginGUI_HypothesisCreator.h index de91f32..334980d 100644 --- a/src/GUI/BLSURFPluginGUI_HypothesisCreator.h +++ b/src/GUI/BLSURFPluginGUI_HypothesisCreator.h @@ -46,16 +46,15 @@ #define BLSURFPLUGIN_GUI_EXPORT #endif +#include #ifdef WIN32 -// E.A. : On windows with python 2.6, there is a conflict -// E.A. : between pymath.h and Standard_math.h which define -// E.A. : some same symbols : acosh, asinh, ... -#include -#include + // E.A. : On windows with python 2.6, there is a conflict + // E.A. : between pymath.h and Standard_math.h which define + // E.A. : some same symbols : acosh, asinh, ... + #include + #include #endif -#include - #include #include