* tests/test-stdbool.c (WORKING_BOOL): Set to 0 on Sun C.
+2023-04-28 Bruno Haible <bruno@clisp.org>
+
+ stdbool tests: Avoid compilation error with Sun C on Solaris 10.
+ * tests/test-stdbool.c (WORKING_BOOL): Set to 0 on Sun C.
+
2023-04-28 Bruno Haible <bruno@clisp.org>
hamt tests: Fix test failure with Sun C on Solaris 10/SPARC.
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