NEURON
nrnwrap_Python.h
Go to the documentation of this file.
1 #pragma once
2 #undef HAVE_PUTENV
3 #undef HAVE_FTIME
4 #undef HAVE_PROTOTYPES
5 #undef HAVE_DIRENT_H
6 #if defined(__MINGW32__)
7 #undef _hypot
8 #define _hypot hypot
9 #endif
10 // https://docs.python.org/3/c-api/intro.html#include-files states: It is
11 // recommended to always define PY_SSIZE_T_CLEAN before including Python.h.
12 #ifndef PY_SSIZE_T_CLEAN
13 #define PY_SSIZE_T_CLEAN
14 #endif
15 #include <Python.h>