(Jack:) On the Mac, use standard strerror() if using MSL C-library.

This commit is contained in:
Guido van Rossum 1997-04-11 19:18:23 +00:00
parent 2d45be1366
commit 6976a52099
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ 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...
@ -79,6 +80,7 @@ PERFORMANCE OF THIS SOFTWARE.
extern char *PyMac_StrError PROTO((int));
#undef strerror
#define strerror PyMac_StrError
#endif
#endif /* macintosh */
#ifndef __STDC__