From: Guido van Rossum Date: Thu, 9 Mar 1995 12:11:31 +0000 (+0000) Subject: changes in NT tests X-Git-Tag: v1.2b4~93 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53e8d44eec0d7aaf373fb779ddf2b8bff777a322;p=thirdparty%2FPython%2Fcpython.git changes in NT tests --- diff --git a/Python/errors.c b/Python/errors.c index 619c3ce0b470..6f2f134d4407 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -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() */