This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Check if `_MSC_VER` is defined before using it
ClosedPublic

Authored by mati865 on Aug 24 2020, 5:15 AM.

Details

Summary

MinGW compilers don't define _MSC_VER so _MSC_VER < 1600 expands to true.

Diff Detail

Event Timeline

mati865 created this revision.Aug 24 2020, 5:15 AM
mati865 requested review of this revision.Aug 24 2020, 5:15 AM
This revision is now accepted and ready to land.Aug 24 2020, 6:33 AM

Could you commit it for me please? I don't have write permission to the repo.