CMakeCCompilerId: Fix C standard detection in Clang MSVC mode
Clang doesn't define __STDC__ if in MSVC compatibility mode, but does define __STDC_VERSION__. Avoid the fallback for this combination.
Loading
Please register or sign in to comment
System updates will be applied on Mar 24th between 7am and 9am, EST (UTC-05:00). This site will have intermittent downtime during that time.
Clang doesn't define __STDC__ if in MSVC compatibility mode, but does define __STDC_VERSION__. Avoid the fallback for this combination.