diff options
Diffstat (limited to 'src/modules/pythoncore/kvircmodule.h')
| -rw-r--r-- | src/modules/pythoncore/kvircmodule.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/pythoncore/kvircmodule.h b/src/modules/pythoncore/kvircmodule.h index 23853d81e..88c6aa2ca 100644 --- a/src/modules/pythoncore/kvircmodule.h +++ b/src/modules/pythoncore/kvircmodule.h @@ -39,6 +39,15 @@ #include <Python.h> +// python included like to pollute the global namespace, let's #undef some beef +#undef isspace +#undef isupper +#undef islower +#undef isalpha +#undef isalnum +#undef toupper +#undef tolower + // Prototype PyMODINIT_FUNC python_init(); |
