commit | 91faef83ca4c4bb9989e43dcbeb9b2618d452c8a | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Tue Jan 09 22:24:56 2001 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Tue Jan 09 22:24:56 2001 +0000 |
tree | a1562a6c3226d272514ed7a5e094268dcf6f8bc7 | |
parent | 6ff228c6d2434d2d0e8483ba117b1303ab7b27d2 [diff] [blame] |
Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib.
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index ded0ad1..0763eaa 100644 --- a/Mac/Python/macglue.c +++ b/Mac/Python/macglue.c
@@ -345,6 +345,7 @@ return buf; } +#if !TARGET_API_MAC_CARBON void c2pstrcpy(unsigned char *dst, const char *src) { @@ -355,6 +356,7 @@ strncpy((char *)dst+1, src, len); dst[0] = len; } +#endif /* Like strerror() but for Mac OS error numbers */ char *PyMac_StrError(int err)