From: Guido van Rossum Date: Tue, 12 Aug 1997 14:51:52 +0000 (+0000) Subject: Use strerror on the mac if using MSL (Jack). X-Git-Tag: v1.5a3~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5b40268817b517b2759ffb71d79e8979ad9bae2;p=python Use strerror on the mac if using MSL (Jack). --- diff --git a/Python/errors.c b/Python/errors.c index 4795aafb78..6109387cfb 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -38,15 +38,9 @@ PERFORMANCE OF THIS SOFTWARE. #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__