]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Merge commit '970751f6a5df4c1c8c0f57f511af98f2bc37c784'
authorBERNHARD Martin OpenCascade <martin.bernhard@opencascade.com>
Tue, 23 Apr 2024 09:13:24 +0000 (11:13 +0200)
committerBERNHARD Martin OpenCascade <martin.bernhard@opencascade.com>
Tue, 23 Apr 2024 09:13:24 +0000 (11:13 +0200)
src/LightApp/LightApp_Application.cxx
src/SALOME_PY/SalomePy.cxx
src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx
src/SalomeApp/SalomeApp_Application.cxx

index 45759e967bc9de3b9fb5e41c1c1767d2ba91d017..bbf021081a344f0f9a80ad13b12c34d0192819f8 100644 (file)
@@ -29,6 +29,7 @@
 // E.A. : some same symbols : acosh, asinh, ...
   #include <Standard_math.hxx>
   #ifndef DISABLE_PYCONSOLE
+    #include <Python.h>
     #include <pymath.h>
   #endif
 #endif
index 285178c14b4a4fbdee7a346c5d434d7005a8297f..7e9138f12e10bdc306ff25693fd5c4cd7dd7fd13 100644 (file)
@@ -29,7 +29,8 @@
 // E.A. : between pymath.h and Standard_math.h which define
 // E.A. : some same symbols : acosh, asinh, ...
 #include <Standard_math.hxx>
-#include <pymath.h>
+ #include <Python.h>
+ #include <pymath.h>
 #endif
 
 #include <Python.h>
index 7a75143d654433f180e74bd04dec890b0f03478c..322b4323b2073c2fcb1da725159db99848d0a7f4 100644 (file)
@@ -28,7 +28,8 @@
 // E.A. : between pymath.h and Standard_math.h which define
 // E.A. : some same symbols : acosh, asinh, ...
 #include <Standard_math.hxx>
-#include <pymath.h>
+ #include <Python.h>
+ #include <pymath.h>
 #endif
 
 #include "SALOME_PYQT_ModuleLight.h" // this include must be first!!!
index 82a1de82d4628a8c0126cc186d72d3a4e4df896f..640bf3833e6eb7e5b4935232285494e18311c45b 100644 (file)
@@ -30,6 +30,7 @@
   // E.A. : some same symbols : acosh, asinh, ...
   #include <Standard_math.hxx>
   #ifndef DISABLE_PYCONSOLE
+    #include <Python.h>
     #include <pymath.h>
   #endif
 #endif