Commit f23cafce authored by Jack Jansen's avatar Jack Jansen

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

parent 6eccda09
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment