Kaydet (Commit) 9588770e authored tarafından Jack Jansen's avatar Jack Jansen

PyDoc_STR is always defined nowadays (and has been for quite some time:-)

üst e48cef7a
......@@ -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
......
......@@ -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>
"""
......
......@@ -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
......
......@@ -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>
/*
......
......@@ -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 *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment