summaryrefslogtreecommitdiffstats
path: root/Tests/Module/WriteCompilerDetectionHeader/c_undefined.c
Commit message (Collapse)AuthorAgeFilesLines
* WCDH: Make the header -Wundef safe for the C language.Stephen Kelly2014-11-251-0/+7
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.