diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index 424c2b043..474db28e2 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -96,6 +96,11 @@ SWIG_Py_None(void) return none; } +#ifdef Py_None +# undef Py_None +# define Py_None SWIG_Py_None() +#endif + SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void(void) {