From e623f108a3313abe063ae8d88fb3bff1854c38b1 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 14 Mar 2024 15:38:43 +0100 Subject: [PATCH] [bos #41189][Windows] Ensure compatibility with Python 3.9 --- src/LightApp/LightApp_Application.cxx | 1 + src/SALOME_PY/SalomePy.cxx | 3 ++- src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx | 3 ++- src/SalomeApp/SalomeApp_Application.cxx | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 7e96c493b..4152f174b 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -29,6 +29,7 @@ // E.A. : some same symbols : acosh, asinh, ... #include #ifndef DISABLE_PYCONSOLE + #include #include #endif #endif diff --git a/src/SALOME_PY/SalomePy.cxx b/src/SALOME_PY/SalomePy.cxx index 285178c14..7e9138f12 100644 --- a/src/SALOME_PY/SalomePy.cxx +++ b/src/SALOME_PY/SalomePy.cxx @@ -29,7 +29,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 diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx index 7a75143d6..322b4323b 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx @@ -28,7 +28,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 "SALOME_PYQT_ModuleLight.h" // this include must be first!!! diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index 82a1de82d..640bf3833 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -30,6 +30,7 @@ // E.A. : some same symbols : acosh, asinh, ... #include #ifndef DISABLE_PYCONSOLE + #include #include #endif #endif -- 2.39.2