summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index f897d0a..1afba39 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -285,6 +285,7 @@ extern int lstat Py_PROTO((const char *, struct stat *));
#endif
/* choose the appropriate stat and fstat functions and return structs */
+#undef STAT
#ifdef MS_WIN64
# define STAT _stati64
# define FSTAT _fstati64