From 294d3f3ed0680bcde886427195a35265fafab94c Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 14 Mar 2024 15:37:08 +0100 Subject: [PATCH] [bos #41189][Windows] Ensure compatibility with Python 3.9 --- src/GUI/BLSURFPluginGUI.cxx | 3 ++- src/GUI/BLSURFPluginGUI_HypothesisCreator.h | 13 ++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) 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 -- 2.39.2