This allows building with older versions of the Windows SDK where the value is not defined.
(cherry picked from commit
711f9e180a48baba62301735b7f1a58ef0d0e93a)
Co-authored-by: Minmin Gong <gongminmin@msn.com>
--- /dev/null
+Manually define IO_REPARSE_TAG_APPEXECLINK in case some old Windows SDK doesn't have it.
\ No newline at end of file
# 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 */