summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/waste/wastesupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/waste/wastesupport.py')
-rw-r--r--Mac/Modules/waste/wastesupport.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py
index 40701c5..674f9f9 100644
--- a/Mac/Modules/waste/wastesupport.py
+++ b/Mac/Modules/waste/wastesupport.py
@@ -63,6 +63,9 @@ includestuff = includestuff + """
#include <%s>""" % MACHEADERFILE + """
#include <WEObjectHandlers.h>
#include <WETabs.h>
+#ifndef PyDoc_STR
+#define PyDoc_STR(x) (x)
+#endif
/* Exported by Qdmodule.c: */
extern PyObject *QdRGB_New(RGBColor *);