summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-11 20:44:04 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-11 20:44:04 (GMT)
commit7844e38a988243b4f3d59feab0908246d37ea34c (patch)
treeba17b5c41fd0388632707e8ba3bbf41da012f6ac /Python/errors.c
parent6bf62dad9e83003a70aef4158df063697926ba7c (diff)
downloadcpython-7844e38a988243b4f3d59feab0908246d37ea34c.zip
cpython-7844e38a988243b4f3d59feab0908246d37ea34c.tar.gz
cpython-7844e38a988243b4f3d59feab0908246d37ea34c.tar.bz2
Keep Microsoft VC happy.
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 526b61b..c7e9528 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -84,8 +84,10 @@ extern char *PyMac_StrError PROTO((int));
#endif /* macintosh */
#ifndef __STDC__
+#ifndef MS_WINDOWS
extern char *strerror PROTO((int));
#endif
+#endif
/* Last exception stored by err_setval() */