summaryrefslogtreecommitdiff
path: root/Modules/winreparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/winreparse.h')
-rw-r--r--Modules/winreparse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/winreparse.h b/Modules/winreparse.h
index 28049c9af9..f06f701f99 100644
--- a/Modules/winreparse.h
+++ b/Modules/winreparse.h
@@ -45,6 +45,11 @@ typedef struct {
FIELD_OFFSET(_Py_REPARSE_DATA_BUFFER, GenericReparseBuffer)
#define _Py_MAXIMUM_REPARSE_DATA_BUFFER_SIZE ( 16 * 1024 )
+// Defined in WinBase.h in 'recent' versions of Windows 10 SDK
+#ifndef SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
+#define SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE 0x2
+#endif
+
#ifdef __cplusplus
}
#endif