mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
The __STDC_VERSION__ macro may be defined or not depending on the implementation dialect of C. Test that it is defined before testing its value. The CXX tests do not need such a change because they define __cplusplus in all dialects.