summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-11 20:44:04 +0000
committerGuido van Rossum <guido@python.org>1997-04-11 20:44:04 +0000
commit66a73b2928fa492c063855d4f1cf1c78f335db2b (patch)
treed7b5f6ee5103af946a5d3881e94f7adcf69cc0c5 /Python/errors.c
parentaa95c56a2316273e139ac343d2809518531e69fe (diff)
downloadcpython-66a73b2928fa492c063855d4f1cf1c78f335db2b.tar.gz
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 526b61bba4..c7e9528214 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() */