From 91faef83ca4c4bb9989e43dcbeb9b2618d452c8a Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 9 Jan 2001 22:24:56 +0000 Subject: [PATCH] Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib. --- Mac/Python/macglue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index ded0ad1e191..0763eaa3c2b 100644 --- a/Mac/Python/macglue.c +++ b/Mac/Python/macglue.c @@ -345,6 +345,7 @@ Pstring(char *str) return buf; } +#if !TARGET_API_MAC_CARBON void c2pstrcpy(unsigned char *dst, const char *src) { @@ -355,6 +356,7 @@ c2pstrcpy(unsigned char *dst, const char *src) strncpy((char *)dst+1, src, len); dst[0] = len; } +#endif /* Like strerror() but for Mac OS error numbers */ char *PyMac_StrError(int err)