Tests: Teach CompileFeatures to tolerate __STDC_VERSION__ on Intel Classic

This commit is contained in:
Brad King 2023-05-01 14:45:29 -04:00
parent 1b7649604e
commit a5fd03a53d

View File

@ -20,7 +20,8 @@
# error Buildsystem error
# endif
# if defined(__STDC_VERSION__) && \
!(defined(__SUNPRO_C) && __STDC_VERSION__ == 199409L)
!(__STDC_VERSION__ == 199409L && \
(defined(__INTEL_COMPILER) || defined(__SUNPRO_C)))
# error Unexpected __STDC_VERSION__ definition
# endif
#endif