mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
MS Windows doesn't have mode_t but stat.st_mode is defined as unsigned short.
This commit is contained in:
parent
4425e7cee7
commit
5e8e6d2454
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
/* for stat.st_mode */
|
||||
typedef unsigned short mode_t;
|
||||
#endif
|
||||
|
||||
extern time_t PyOS_GetLastModificationTime(char *, FILE *);
|
||||
/* In getmtime.c */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue