diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py index 672b5441f7d..96d1ccf2d66 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 #ifdef USE_TOOLBOX_OBJECT_GLUE diff --git a/Mac/Modules/help/helpsupport.py b/Mac/Modules/help/helpsupport.py index 230ec0c57f8..a63060348df 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 """ diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py index 91ab00a1c94..6135560cd71 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 #ifdef USE_TOOLBOX_OBJECT_GLUE diff --git a/Mac/Modules/scrap/scrapsupport.py b/Mac/Modules/scrap/scrapsupport.py index 85c1e3b930d..634a43988f1 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 /* diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py index e983b154ce6..c669fa13aa8 100644 --- a/Mac/Modules/waste/wastesupport.py +++ b/Mac/Modules/waste/wastesupport.py @@ -63,9 +63,6 @@ includestuff = includestuff + """ #include <%s>""" % MACHEADERFILE + """ #include #include -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif /* Exported by Qdmodule.c: */ extern PyObject *QdRGB_New(RGBColor *);