summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-localename.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-localename.c b/tests/test-localename.c
index 21b12e8b2e..d56d14ed0a 100644
--- a/tests/test-localename.c
+++ b/tests/test-localename.c
@@ -30,6 +30,11 @@
# define HAVE_GOOD_USELOCALE 1
#endif
+#ifdef __HAIKU__
+/* Work around Haiku bug <https://dev.haiku-os.org/ticket/18344>. */
+# define freelocale(loc) ((void) (loc))
+#endif
+
#if HAVE_GOOD_USELOCALE