mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #23152: Move declarations back to posixmodule.c.
Declarations of Windows-specific auxilary functions need Windows types from windows.h. Instead of including windows.h in Python.h and making it available to all Windows users, it is simpler and safer just move declarations to the single file that needs them.
This commit is contained in:
parent
12ebbc74f1
commit
06a13f81ea
2 changed files with 6 additions and 4 deletions
|
@ -42,10 +42,6 @@ struct _Py_stat_struct {
|
|||
int st_ctime_nsec;
|
||||
unsigned long st_file_attributes;
|
||||
};
|
||||
|
||||
PyAPI_FUNC(void) _Py_time_t_to_FILE_TIME(time_t, int, FILETIME *);
|
||||
PyAPI_FUNC(void) _Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *,
|
||||
ULONG, struct _Py_stat_struct *);
|
||||
#else
|
||||
# define _Py_stat_struct stat
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue