Mercurial > cpython-lru_cache-weakref
diff Python/errors.c @ 5979:422960523286 legacy-trunk
Use strerror on the mac if using MSL (Jack).
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 12 Aug 1997 14:51:52 +0000 |
| parents | b7871ca930ad |
| children | a2a1df0ca808 |
line wrap: on
line diff
--- a/Python/errors.c Tue Aug 12 14:48:03 1997 +0000 +++ b/Python/errors.c Tue Aug 12 14:51:52 1997 +0000 @@ -38,15 +38,9 @@ #endif #ifdef macintosh -#ifndef __MSL__ -/* Replace strerror with a Mac specific routine. - XXX PROBLEM: some positive errors have a meaning for MacOS, - but some library routines set Unix error numbers... -*/ extern char *PyMac_StrError Py_PROTO((int)); #undef strerror #define strerror PyMac_StrError -#endif #endif /* macintosh */ #ifndef __STDC__
