1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-25 22:24:15 +08:00
Stephen Kelly d0af0faefb WCDH: Make the header -Wundef safe for the C language.
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.
2014-11-25 14:44:21 +01:00

8 lines
66 B
C

#include "test_compiler_detection.h"
int main()
{
return 0;
}