summaryrefslogtreecommitdiff
path: root/lib/lc-charset-dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lc-charset-dispatch.c')
-rw-r--r--lib/lc-charset-dispatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lc-charset-dispatch.c b/lib/lc-charset-dispatch.c
index 4b4d93ddb..98c6e9de7 100644
--- a/lib/lc-charset-dispatch.c
+++ b/lib/lc-charset-dispatch.c
@@ -26,7 +26,7 @@
# include "localcharset.h"
# include "streq.h"
-# if GNULIB_WCHAR_SINGLE
+# if GNULIB_WCHAR_SINGLE_LOCALE
/* When we know that the locale does not change, provide a speedup by
caching the value of locale_encoding_classification. */
# define locale_encoding_classification_cached locale_encoding_classification
@@ -35,7 +35,7 @@
# define locale_encoding_classification_uncached locale_encoding_classification
# endif
-# if GNULIB_WCHAR_SINGLE
+# if GNULIB_WCHAR_SINGLE_LOCALE
static inline
# endif
enc_t
@@ -59,7 +59,7 @@ locale_encoding_classification_uncached (void)
return enc_other;
}
-# if GNULIB_WCHAR_SINGLE
+# if GNULIB_WCHAR_SINGLE_LOCALE
static int cached_locale_enc = -1;