mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-14 04:02:09 +03:00
Tests: Make CompileFeatures C dialect check consistent with impl
`Modules/CMakeCCompilerId.c.in` will report the C dialect as 11 whenever `__STDC_VERSION__` indicates *at least* C 11. Make the test consistent with this. We already do this for the C++ case. Fixes: #17740
This commit is contained in:
1 parent
9c1efb614d
commit
972f7caad3
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
#if DEFAULT_C11
|
||||
#if __STDC_VERSION__ != 201112L
|
||||
#if __STDC_VERSION__ < 201112L
|
||||
#error Unexpected value for __STDC_VERSION__.
|
||||
#endif
|
||||
#elif DEFAULT_C99
|
||||
|
||||
Reference in new issue
Block a user