summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/ae/aesupport.py3
-rw-r--r--Mac/Modules/help/helpsupport.py3
-rw-r--r--Mac/Modules/res/ressupport.py3
-rw-r--r--Mac/Modules/scrap/scrapsupport.py3
-rw-r--r--Mac/Modules/waste/wastesupport.py3
5 files changed, 0 insertions, 15 deletions
diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py
index 672b544..96d1ccf 100644
--- a/Mac/Modules/ae/aesupport.py
+++ b/Mac/Modules/ae/aesupport.py
@@ -82,9 +82,6 @@ AEMethod = OSErrWeakLinkMethodGenerator
includestuff = includestuff + """
-#ifndef PyDoc_STR
-#define PyDoc_STR(x) (x)
-#endif
#include <Carbon/Carbon.h>
#ifdef USE_TOOLBOX_OBJECT_GLUE
diff --git a/Mac/Modules/help/helpsupport.py b/Mac/Modules/help/helpsupport.py
index 230ec0c..a630603 100644
--- a/Mac/Modules/help/helpsupport.py
+++ b/Mac/Modules/help/helpsupport.py
@@ -36,9 +36,6 @@ MenuItemIndex = Type("MenuItemIndex", "H")
#EventKind = Type("EventKind", "H")
includestuff = includestuff + """
-#ifndef PyDoc_STR
-#define PyDoc_STR(x) (x)
-#endif
#include <Carbon/Carbon.h>
"""
diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py
index 91ab00a..6135560 100644
--- a/Mac/Modules/res/ressupport.py
+++ b/Mac/Modules/res/ressupport.py
@@ -25,9 +25,6 @@ FSCatalogInfo_ptr = FakeType("(FSCatalogInfo *)0")
# includestuff etc. are imported from macsupport
includestuff = includestuff + """
-#ifndef PyDoc_STR
-#define PyDoc_STR(x) (x)
-#endif
#include <Carbon/Carbon.h>
#ifdef USE_TOOLBOX_OBJECT_GLUE
diff --git a/Mac/Modules/scrap/scrapsupport.py b/Mac/Modules/scrap/scrapsupport.py
index 85c1e3b..634a439 100644
--- a/Mac/Modules/scrap/scrapsupport.py
+++ b/Mac/Modules/scrap/scrapsupport.py
@@ -26,9 +26,6 @@ from macsupport import *
ScrapRef = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX)
includestuff = includestuff + """
-#ifndef PyDoc_STR
-#define PyDoc_STR(x) (x)
-#endif
#include <Carbon/Carbon.h>
/*
diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py
index e983b15..c669fa1 100644
--- a/Mac/Modules/waste/wastesupport.py
+++ b/Mac/Modules/waste/wastesupport.py
@@ -63,9 +63,6 @@ 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 *);