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 usage of potentially undefined macro _LIBCPP_VERSION #726

Merged
merged 1 commit into from
May 5, 2018
Merged

Fix usage of potentially undefined macro _LIBCPP_VERSION #726

merged 1 commit into from
May 5, 2018

Conversation

eliaskosunen
Copy link
Contributor

Remove checking the value of a potentially undefined macro _LIBCPP_VERSION and replace it with defined(_LIBCPP_VERSION). Previously, this caused warnings on both gcc and clang if -Wundef was enabled.

@vitaut vitaut merged commit 0adccae into fmtlib:master May 5, 2018
@vitaut
Copy link
Contributor

vitaut commented May 5, 2018

Merged, thanks!

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