summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-06-20 20:55:05 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-06-20 20:55:05 (GMT)
commit8853b18cc8f267978c0f9e193aee9cae13c85ed9 (patch)
treed580753ef2aaf143e49c9a909f1849e87f36ece6
parentff75c214efefff451d00c8ba1656cc26d3b72fe1 (diff)
downloadcpython-8853b18cc8f267978c0f9e193aee9cae13c85ed9.zip
cpython-8853b18cc8f267978c0f9e193aee9cae13c85ed9.tar.gz
cpython-8853b18cc8f267978c0f9e193aee9cae13c85ed9.tar.bz2
Removed some unused routines under Carbon. They caused compile errors with UH34.
-rw-r--r--Mac/Modules/scrap/Scrapmodule.c3
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;