Skip to content

Windows: include direct.h in sys.stat module #33394

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
Aug 11, 2020

Conversation

compnerd
Copy link
Member

On Unicies sys/stat.h will provide mkdir. Windows provides the
POSIX requirement through the portable name _mkdir which is declared
in the direct.h header. This adds the additional header to the ucrt
module to allow access to this function.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

On Unicies `sys/stat.h` will provide `mkdir`.  Windows provides the
POSIX requirement through the portable name `_mkdir` which is declared
in the `direct.h` header.  This adds the additional header to the `ucrt`
module to allow access to this function.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd merged commit b9cf249 into swiftlang:master Aug 11, 2020
@compnerd compnerd deleted the direct-call branch August 11, 2020 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant