Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib.

This commit is contained in:
Jack Jansen 2001-01-09 22:24:56 +00:00
parent 6ff228c6d2
commit 91faef83ca
1 changed files with 2 additions and 0 deletions

View File

@ -345,6 +345,7 @@ Pstring(char *str)
return buf; return buf;
} }
#if !TARGET_API_MAC_CARBON
void void
c2pstrcpy(unsigned char *dst, const char *src) c2pstrcpy(unsigned char *dst, const char *src)
{ {
@ -355,6 +356,7 @@ c2pstrcpy(unsigned char *dst, const char *src)
strncpy((char *)dst+1, src, len); strncpy((char *)dst+1, src, len);
dst[0] = len; dst[0] = len;
} }
#endif
/* Like strerror() but for Mac OS error numbers */ /* Like strerror() but for Mac OS error numbers */
char *PyMac_StrError(int err) char *PyMac_StrError(int err)