[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

@ -24,11 +24,13 @@
// 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 <Standard_math.hxx>
#include <pymath.h>
#include <Standard_math.hxx>
#include <Python.h>
#include <pymath.h>
#else
#include <Python.h>
#endif
#include <Python.h>
#include <structmember.h>
#ifdef HAVE_FINITE