mirror of https://github.com/python/cpython.git
Issue #10898: Allow compiling the posix module when the C library defines
a symbol named FSTAT.
This commit is contained in:
parent
be9994e0d1
commit
e47e093f70
|
@ -16,6 +16,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #10898: Allow compiling the posix module when the C library defines
|
||||||
|
a symbol named FSTAT.
|
||||||
|
|
||||||
|
|
||||||
What's New in Python 3.2 Release Candidate 1
|
What's New in Python 3.2 Release Candidate 1
|
||||||
============================================
|
============================================
|
||||||
|
|
|
@ -326,6 +326,8 @@ static int win32_can_symlink = 0;
|
||||||
|
|
||||||
/* choose the appropriate stat and fstat functions and return structs */
|
/* choose the appropriate stat and fstat functions and return structs */
|
||||||
#undef STAT
|
#undef STAT
|
||||||
|
#undef FSTAT
|
||||||
|
#undef STRUCT_STAT
|
||||||
#if defined(MS_WIN64) || defined(MS_WINDOWS)
|
#if defined(MS_WIN64) || defined(MS_WINDOWS)
|
||||||
# define STAT win32_stat
|
# define STAT win32_stat
|
||||||
# define FSTAT win32_fstat
|
# define FSTAT win32_fstat
|
||||||
|
|
Loading…
Reference in New Issue