From 6ba34aa07f2249ec2d70b5238ebbba4f6219f5fc Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 11 Jan 2001 23:03:56 +0000 Subject: Disabled a few other routines that are available in CarbonLib. --- Mac/Python/macglue.c | 6 ++++-- 1 file 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) -- cgit v0.12