diff --git a/Mac/Modules/scrap/Scrapmodule.c b/Mac/Modules/scrap/Scrapmodule.c index 50402990494..7677258cefc 100644 --- a/Mac/Modules/scrap/Scrapmodule.c +++ b/Mac/Modules/scrap/Scrapmodule.c @@ -14,6 +14,8 @@ #include #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;