summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/default_dialect.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/default_dialect.c')
-rw-r--r--Tests/CompileFeatures/default_dialect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/default_dialect.c b/Tests/CompileFeatures/default_dialect.c
index 0e67095..4debd94 100644
--- a/Tests/CompileFeatures/default_dialect.c
+++ b/Tests/CompileFeatures/default_dialect.c
@@ -11,7 +11,8 @@
#if !DEFAULT_C90
#error Buildsystem error
#endif
-#if defined(__STDC_VERSION__)
+#if defined(__STDC_VERSION__) && \
+ !(defined(__SUNPRO_C) && __STDC_VERSION__ == 199409L)
#error Unexpected __STDC_VERSION__ definition
#endif
#endif