mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Crude way to fix a problem on AIX: #undef STAT before defining it.
This commit is contained in:
parent
55a4f4a528
commit
64529cd7ce
1 changed files with 1 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ extern int lstat Py_PROTO((const char *, struct stat *));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* choose the appropriate stat and fstat functions and return structs */
|
/* choose the appropriate stat and fstat functions and return structs */
|
||||||
|
#undef STAT
|
||||||
#ifdef MS_WIN64
|
#ifdef MS_WIN64
|
||||||
# define STAT _stati64
|
# define STAT _stati64
|
||||||
# define FSTAT _fstati64
|
# define FSTAT _fstati64
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue