From 8853b18cc8f267978c0f9e193aee9cae13c85ed9 Mon Sep 17 00:00:00 2001
From: Jack Jansen <jack.jansen@cwi.nl>
Date: Wed, 20 Jun 2001 20:55:05 +0000
Subject: Removed some unused routines under Carbon. They caused compile errors
 with UH34.

---
 Mac/Modules/scrap/Scrapmodule.c | 3 +++
 1 file changed, 3 insertions(+)

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;
 
-- 
cgit v0.12

