Skip to content

[3.9] bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206) #20217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Manually define IO_REPARSE_TAG_APPEXECLINK in case some old Windows SDK doesn't have it.
4 changes: 4 additions & 0 deletions Modules/_stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ typedef unsigned short mode_t;
# define FILE_ATTRIBUTE_NO_SCRUB_DATA 0x20000
#endif

#ifndef IO_REPARSE_TAG_APPEXECLINK
# define IO_REPARSE_TAG_APPEXECLINK 0x8000001BL
#endif

#endif /* MS_WINDOWS */

/* From Python's stat.py */
Expand Down