-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[vcpkg] Fix build on Windows 8.1 SDK #12586
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
const DWORD flags = SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE; | ||
const DWORD flags = | ||
#if defined(SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE) | ||
SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to just say "2" or copy pasta the implementation from the Microsoft/STL repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we never actually get here, I'm going to worry about that when we rewrite the Files implementation :P
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
PR #12400 added
SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
, which was added in an SDK that is newer than the oldest we support. Therefore, check for the existence of that flag before we use it.cc @BillyONeal