diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-23 01:49:42 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-23 01:49:42 +0200 |
commit | c6ebd16a203b84de020fb236f32e8c58db92718d (patch) | |
tree | aa2fcbb143209bcf24003981a914b556a2b2c941 /Modules/_stat.c | |
parent | 0e03d6f2e91ede8e66442086484e76afad1702c0 (diff) | |
download | cpython-git-c6ebd16a203b84de020fb236f32e8c58db92718d.tar.gz |
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 41a5a09d71..aaf6fe5ca2 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 |