summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-11 23:03:56 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-11 23:03:56 (GMT)
commit6ba34aa07f2249ec2d70b5238ebbba4f6219f5fc (patch)
treeb6b09849d77a0b31fa57bb3cd18701510a20b893 /Mac
parent6993f27c82efdffa0b0dfea2193926ca4900707f (diff)
downloadcpython-6ba34aa07f2249ec2d70b5238ebbba4f6219f5fc.zip
cpython-6ba34aa07f2249ec2d70b5238ebbba4f6219f5fc.tar.gz
cpython-6ba34aa07f2249ec2d70b5238ebbba4f6219f5fc.tar.bz2
Disabled a few other routines that are available in CarbonLib.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Python/macglue.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index 0763eaa..bcfe09e 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -287,9 +287,10 @@ PyMac_StopGUSISpin() {
PyMac_ConsoleIsDead = 1;
}
+#if !TARGET_API_MAC_CARBON
/*
** Replacement routines for the PLstr... functions so we don't need
-** StdCLib. Moreover, that implementation is broken under cfm68k...
+** StdCLib.
*/
pascal void
PLstrcpy(unsigned char *to, unsigned char *fr)
@@ -327,6 +328,7 @@ PLstrrchr(unsigned char *str, unsigned char chr)
return ptr;
}
+#endif /* !TARGET_API_MAC_CARBON */
#endif /* USE_GUSI */
@@ -356,7 +358,7 @@ c2pstrcpy(unsigned char *dst, const char *src)
strncpy((char *)dst+1, src, len);
dst[0] = len;
}
-#endif
+#endif /* !TARGET_API_MAC_CARBON */
/* Like strerror() but for Mac OS error numbers */
char *PyMac_StrError(int err)