diff options
-rw-r--r-- | Mac/Modules/scrap/Scrapmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Modules/scrap/Scrapmodule.c b/Mac/Modules/scrap/Scrapmodule.c index 5040299..7677258 100644 --- a/Mac/Modules/scrap/Scrapmodule.c +++ b/Mac/Modules/scrap/Scrapmodule.c @@ -14,6 +14,8 @@ #include <Carbon/Carbon.h> #endif +#if !TARGET_API_MAC_CARBON + /* ** Generate ScrapInfo records */ @@ -26,6 +28,7 @@ SCRRec_New(itself) ResObj_New, itself->scrapHandle, itself->scrapCount, itself->scrapState, PyMac_BuildStr255, itself->scrapName); } +#endif static PyObject *Scrap_Error; |