diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-05 15:17:27 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-05 15:17:27 +0200 |
commit | dddf540b4b41c0f4d73cbfa14b47d2551b79bffd (patch) | |
tree | a0082d511f742f33e6ef915e8e55418b8d8815cf /tests | |
parent | d795780cfbf8b3e5881f214bc44252e1126c66f5 (diff) | |
download | gnulib-dddf540b4b41c0f4d73cbfa14b47d2551b79bffd.tar.gz |
localename tests: Work around a Haiku bug.
* tests/test-localename.c (freelocale): New macro.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-localename.c | 5 |
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 |