]> granicus.if.org Git - python/commitdiff
Removed some unused routines under Carbon. They caused compile errors with UH34.
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 20 Jun 2001 20:55:05 +0000 (20:55 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 20 Jun 2001 20:55:05 +0000 (20:55 +0000)
Mac/Modules/scrap/Scrapmodule.c

index 50402990494da49e5bf269a2c94ee5820114d0eb..7677258cefcb256accad46c188f678335c55f9d6 100644 (file)
@@ -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;