summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-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() */