mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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.
8 lines
66 B
C
8 lines
66 B
C
|
|
#include "test_compiler_detection.h"
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|