aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/pythoncore/kvircmodule.h
diff options
context:
space:
mode:
authorGravatar Fabio Bas2012-10-05 14:20:39 +0000
committerGravatar Fabio Bas2012-10-05 14:20:39 +0000
commit59189a20eeb3a08014184732624062b867a9922f (patch)
treebdc6fc8be89ddd9c7ff37e4ac031f9090921942d /src/modules/pythoncore/kvircmodule.h
parent- some files were missing newlines, add them (diff)
downloadKVIrc-59189a20eeb3a08014184732624062b867a9922f.tar.gz
KVIrc-59189a20eeb3a08014184732624062b867a9922f.tar.bz2
KVIrc-59189a20eeb3a08014184732624062b867a9922f.zip
moved perl linking flags from main cmakelists to perlcore's cmakelists
fixed up beefy includes lowercase cake module's rules git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6269 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/pythoncore/kvircmodule.h')
-rw-r--r--src/modules/pythoncore/kvircmodule.h9
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();