mirror of https://github.com/python/cpython
bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206)
This allows building with older versions of the Windows SDK where the value is not defined.
This commit is contained in:
parent
8c862e5124
commit
711f9e180a
|
@ -0,0 +1 @@
|
||||||
|
Manually define IO_REPARSE_TAG_APPEXECLINK in case some old Windows SDK doesn't have it.
|
|
@ -40,6 +40,10 @@ typedef unsigned short mode_t;
|
||||||
# define FILE_ATTRIBUTE_NO_SCRUB_DATA 0x20000
|
# define FILE_ATTRIBUTE_NO_SCRUB_DATA 0x20000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef IO_REPARSE_TAG_APPEXECLINK
|
||||||
|
# define IO_REPARSE_TAG_APPEXECLINK 0x8000001BL
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* MS_WINDOWS */
|
#endif /* MS_WINDOWS */
|
||||||
|
|
||||||
/* From Python's stat.py */
|
/* From Python's stat.py */
|
||||||
|
|
Loading…
Reference in New Issue