* lib/localename.c (gl_locale_name_thread_unsafe): Treat DragonFly BSD
like FreeBSD.
+2017-06-11 Bruno Haible <bruno@clisp.org>
+
+ localename: Fix test failure on DragonFly BSD.
+ * lib/localename.c (gl_locale_name_thread_unsafe): Treat DragonFly BSD
+ like FreeBSD.
+
2017-06-11 Bruno Haible <bruno@clisp.org>
float: Fix 'float' and 'isinf' failures on DragonFly BSD.
nl_langinfo (_NL_LOCALE_NAME (category)). */
name = thread_locale->__names[category];
return name;
-# elif defined __FreeBSD__ || (defined __APPLE__ && defined __MACH__)
+# elif (defined __FreeBSD__ || defined __DragonFly__) || (defined __APPLE__ && defined __MACH__)
/* FreeBSD, Mac OS X */
int mask;