summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-stdbool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-stdbool.c b/tests/test-stdbool.c
index 6ca9535e87..a4ff4d4b53 100644
--- a/tests/test-stdbool.c
+++ b/tests/test-stdbool.c
@@ -48,7 +48,7 @@
least, not for all compilers and compiler options. */
#if ((HAVE_C_BOOL || defined __cplusplus \
|| HAVE_STDBOOL_H || 3 <= __GNUC__ || 4 <= __clang_major__) \
- && !defined _MSC_VER)
+ && !(defined _MSC_VER || defined __SUNPRO_C))
# define WORKING_BOOL 1
#else
# define WORKING_BOOL 0