aboutsummaryrefslogtreecommitdiff
path: root/chinese/qterm/files/patch-qterm-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/qterm/files/patch-qterm-main.cpp')
-rw-r--r--chinese/qterm/files/patch-qterm-main.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/chinese/qterm/files/patch-qterm-main.cpp b/chinese/qterm/files/patch-qterm-main.cpp
new file mode 100644
index 000000000000..e79a27296798
--- /dev/null
+++ b/chinese/qterm/files/patch-qterm-main.cpp
@@ -0,0 +1,18 @@
+--- qterm/main.cpp.orig Mon Jul 10 15:36:13 2006
++++ qterm/main.cpp Thu Jul 27 17:55:53 2006
+@@ -16,6 +16,15 @@
+ #ifdef HAVE_PYTHON
+ #include <Python.h>
+ #endif
++
++#undef isalnum
++#undef isalpha
++#undef islower
++#undef isspace
++#undef isupper
++#undef tolower
++#undef toupper
++
+ #include <qpixmap.h>
+ #include <qstringlist.h>
+ #include <qapplication.h>