mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Issue #11016: Try to fix compilaton of the new _stat.c module on Windows
This commit is contained in:
parent
0e03d6f2e9
commit
c6ebd16a20
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue