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 Clang with MSVC standard library #1307

Closed

Conversation

MatthieuHernandez
Copy link
Contributor

When compiling with Clang and MSVC as the standard library, clang defines the _MSC_VER and _MSC_FULL_VER macros.
Use the clang_major macro to ensure that the code is compiled with MSVC.

When compiling with clang and MSVC as the standard library, clang
defines the _MSC_VER and _MSC_FULL_VER macros. Use the __clang_major__
macro to ensure that the code is compiled with MSVC.
@MatthieuHernandez
Copy link
Contributor Author

This is a duplicate of PR #1306.

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