* tests/test-nl_langinfo2.c (main): Skip French T_FMT_AMPM test on
Solaris.
+2023-03-02 Bruno Haible <bruno@clisp.org>
+
+ nl_langinfo tests: Avoid test failure on Solaris 11.
+ * tests/test-nl_langinfo2.c (main): Skip French T_FMT_AMPM test on
+ Solaris.
+
2023-02-28 Benno Schulenberg <bensberg@telfort.nl> (tiny change)
terminfo, termcap: Fix more spellos in a comment.
ASSERT (strcmp (fr_RADIXCHAR, ",") == 0);
/* nl_langinfo items of the LC_TIME category */
- /* macOS doesn't get the LC_TIME values right.
+ /* macOS and Solaris 11 don't get the LC_TIME values right.
Poor. */
- #if !(defined __APPLE__ && defined __MACH__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __sun)
const char *fr_T_FMT_AMPM = nl_langinfo (T_FMT_AMPM);
const char *fr_AM_STR = nl_langinfo (AM_STR);
const char *fr_PM_STR = nl_langinfo (PM_STR);