]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
[bos #41189]: ensure compatibility with Python 3.9+
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 4 Apr 2024 12:31:05 +0000 (14:31 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 4 Apr 2024 12:31:05 +0000 (14:31 +0200)
src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx

index fef00a9ad2dc0efb1c6d9970760200500a04c013..9e6dcd9d119208032ac2d9ff8940de66f1d8adeb 100644 (file)
 // E.A. : between pymath.h and Standard_math.h which define
 // E.A. : some same symbols : acosh, asinh, ...
 #include <Standard_math.hxx>
+#include <Python.h>
 #include <pymath.h>
+#else
+#include <Python.h>
 #endif
 
-#include <Python.h>
 #include <structmember.h>
 
 #ifdef HAVE_FINITE