diff options
author | Bruno Haible <bruno@clisp.org> | 2009-12-31 02:28:19 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-12-31 02:28:19 +0100 |
commit | b2d69f3f48311d89e9e2f3dba66bf19ca4709dc5 (patch) | |
tree | ed62d64038a3f046039e6bce16004b03bd56f327 /tests | |
parent | 0e3e69f9f9b31a7d8516bb9699471db6a43bd3c8 (diff) | |
download | gnulib-b2d69f3f48311d89e9e2f3dba66bf19ca4709dc5.tar.gz |
Fix compilation error on most platforms.
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 38fc33040a..9afa932441 100644 --- a/tests/test-localename.c +++ b/tests/test-localename.c @@ -26,6 +26,9 @@ #include "macros.h" + +#if HAVE_NEWLOCALE + static struct { int cat; int mask; const char *string; } const categories[] = { { LC_CTYPE, LC_CTYPE_MASK, "LC_CTYPE" }, @@ -54,6 +57,8 @@ static struct { int cat; int mask; const char *string; } const categories[] = # endif }; +#endif + /* Test the gl_locale_name() function. */ static void test_locale_name (void) |