summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-09 12:11:31 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-09 12:11:31 (GMT)
commit53e8d44eec0d7aaf373fb779ddf2b8bff777a322 (patch)
treef93ee1535fc00548cf1472192ccec635424816b6 /Python
parent59461c70523ccd283ed297a1c9ebbee01afd2740 (diff)
downloadcpython-53e8d44eec0d7aaf373fb779ddf2b8bff777a322.zip
cpython-53e8d44eec0d7aaf373fb779ddf2b8bff777a322.tar.gz
cpython-53e8d44eec0d7aaf373fb779ddf2b8bff777a322.tar.bz2
changes in NT tests
Diffstat (limited to 'Python')
-rw-r--r--Python/errors.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 619c3ce..6f2f134 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() */