]> granicus.if.org Git - python/commitdiff
Use strerror on the mac if using MSL (Jack).
authorGuido van Rossum <guido@python.org>
Tue, 12 Aug 1997 14:51:52 +0000 (14:51 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 12 Aug 1997 14:51:52 +0000 (14:51 +0000)
Python/errors.c

index 4795aafb78547534c9d435ae490b7135fa7a7460..6109387cfb97e3026166ba18f67637ea5a30b08d 100644 (file)
@@ -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__