diff Python/errors.c @ 2502:d5978238e3ba legacy-trunk

changes in NT tests
author Guido van Rossum <guido@python.org>
date Thu, 09 Mar 1995 12:11:31 +0000
parents c31eaed7798b
children b8937e74fdf5
line wrap: on
line diff
--- a/Python/errors.c	Thu Mar 09 12:10:50 1995 +0000
+++ b/Python/errors.c	Thu Mar 09 12:11:31 1995 +0000
@@ -69,13 +69,14 @@
    XXX PROBLEM: some positive errors have a meaning for MacOS,
    but some library routines set Unix error numbers...
 */
+extern char *PyMac_StrError PROTO((int));
 #undef strerror
 #define strerror PyMac_StrError
 #endif /* macintosh */
 
-#ifndef NT
+#ifndef __STDC__
 extern char *strerror PROTO((int));
-#endif /* !NT */
+#endif
 
 /* Last exception stored by err_setval() */