FreeBSD also has uselocale() et al, since version 9.1, see https://www.freebsd.org/releases/9.1R/relnotes.html https://svnweb.freebsd.org/base?view=revision&revision=235785 https://svnweb.freebsd.org/base?view=revision&revision=227753
And AIX 7 as well. 2018-12-16 Bruno Haible <[email protected]> localename: Update comments. * lib/localename.c (HAVE_USELOCALE): Update list of platforms. diff --git a/lib/localename.c b/lib/localename.c index 3fddbf9..aa3cc13 100644 --- a/lib/localename.c +++ b/lib/localename.c @@ -2623,7 +2623,8 @@ get_lcid (const char *locale_name) #endif -#if HAVE_USELOCALE /* glibc, Mac OS X, Solaris 11 OpenIndiana, or Solaris >= 11.4 */ +#if HAVE_USELOCALE /* glibc, Mac OS X, FreeBSD >= 9.1, AIX >= 7, + Solaris 11 OpenIndiana, or Solaris >= 11.4 */ /* Simple hash set of strings. We don't want to drag in lots of hash table code here. */
