]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
changes in NT tests
authorGuido van Rossum <guido@python.org>
Thu, 9 Mar 1995 12:11:31 +0000 (12:11 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 9 Mar 1995 12:11:31 +0000 (12:11 +0000)
Python/errors.c

index 619c3ce0b47042ac667a07a737bf7fc97f8893dc..6f2f134d4407d359c24dddb9c138a1d359c0e354 100644 (file)
@@ -69,13 +69,14 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    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() */