Skip to content
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

Fix Mingw support #1696

Merged
merged 1 commit into from
May 26, 2020
Merged

Fix Mingw support #1696

merged 1 commit into from
May 26, 2020

Conversation

petrutlucian94
Copy link
Contributor

If the _POSIX_ flag is set, _fdopen will not be defined by
Mingw headers, which is addressed by this PR.

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

include/fmt/os.h Outdated Show resolved Hide resolved
If the ``_POSIX_`` flag is set, _fdopen will not be defined by
Mingw headers, which is addressed by this commit.

For what is worth, as opposed to ``fdopen``, ``_pipe`` *will*
actually have the ``_`` prefix when ``_POSIX_`` is set.
@vitaut
Copy link
Contributor

vitaut commented May 26, 2020

Thank you!

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.

2 participants