diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-22 23:49:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-22 23:49:42 (GMT) |
commit | c6ebd16a203b84de020fb236f32e8c58db92718d (patch) | |
tree | aa2fcbb143209bcf24003981a914b556a2b2c941 /Modules/_stat.c | |
parent | 0e03d6f2e91ede8e66442086484e76afad1702c0 (diff) | |
download | cpython-c6ebd16a203b84de020fb236f32e8c58db92718d.zip cpython-c6ebd16a203b84de020fb236f32e8c58db92718d.tar.gz cpython-c6ebd16a203b84de020fb236f32e8c58db92718d.tar.bz2 |
Issue #11016: Try to fix compilaton of the new _stat.c module on Windows
Diffstat (limited to 'Modules/_stat.c')
-rw-r--r-- | Modules/_stat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_stat.c b/Modules/_stat.c index 41a5a09..aaf6fe5 100644 --- a/Modules/_stat.c +++ b/Modules/_stat.c @@ -26,6 +26,10 @@ extern "C" { #include <sys/stat.h> #endif /* HAVE_SYS_STAT_H */ +#ifdef MS_WINDOWS +typedef unsigned short mode_t; +#endif + /* From Python's stat.py */ #ifndef S_IMODE # define S_IMODE 07777 |