summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/res/_Resmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/res/_Resmodule.c')
-rw-r--r--Mac/Modules/res/_Resmodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Modules/res/_Resmodule.c b/Mac/Modules/res/_Resmodule.c
index 5665c47..421b9d7 100644
--- a/Mac/Modules/res/_Resmodule.c
+++ b/Mac/Modules/res/_Resmodule.c
@@ -20,6 +20,9 @@
}} while(0)
+#ifndef PyDoc_STR
+#define PyDoc_STR(x) (x)
+#endif
#ifdef WITHOUT_FRAMEWORKS
#include <Resources.h>
#include <string.h>