Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macglue.c @ 15825:4328ffe647bf legacy-trunk
Disabled a few other routines that are available in CarbonLib.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 11 Jan 2001 23:03:56 +0000 |
| parents | 83e146974b72 |
| children | 3b643653e078 |
line wrap: on
line diff
--- a/Mac/Python/macglue.c Thu Jan 11 23:03:20 2001 +0000 +++ b/Mac/Python/macglue.c Thu Jan 11 23:03:56 2001 +0000 @@ -287,9 +287,10 @@ 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 @@ return ptr; } +#endif /* !TARGET_API_MAC_CARBON */ #endif /* USE_GUSI */ @@ -356,7 +358,7 @@ 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)
