[bos #41189]: ensure compatibility with Python 3.9+

This commit is contained in:
Nabil Ghodbane 2024-04-24 14:55:58 +02:00
parent c13ae14b5a
commit 20db2ca25d

View File

@ -25,10 +25,12 @@
// E.A. : between pymath.h and Standard_math.h which define // E.A. : between pymath.h and Standard_math.h which define
// E.A. : some same symbols : acosh, asinh, ... // E.A. : some same symbols : acosh, asinh, ...
#include <Standard_math.hxx> #include <Standard_math.hxx>
#include <Python.h>
#include <pymath.h> #include <pymath.h>
#else
#include <Python.h>
#endif #endif
#include <Python.h>
#include <structmember.h> #include <structmember.h>
#ifdef HAVE_FINITE #ifdef HAVE_FINITE