mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 12:53:55 +08: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.