diff Python/errors.c @ 5312:d0eb183092b0 legacy-trunk

(Jack:) On the Mac, use standard strerror() if using MSL C-library.
author Guido van Rossum <guido@python.org>
date Fri, 11 Apr 1997 19:18:23 +0000
parents ca6388bcc05a
children 2c4b802a3b5d
line wrap: on
line diff
--- a/Python/errors.c	Fri Apr 11 19:16:25 1997 +0000
+++ b/Python/errors.c	Fri Apr 11 19:18:23 1997 +0000
@@ -72,6 +72,7 @@
 #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 @@
 extern char *PyMac_StrError PROTO((int));
 #undef strerror
 #define strerror PyMac_StrError
+#endif
 #endif /* macintosh */
 
 #ifndef __STDC__