summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/gnulib/lib/wcwidth.c
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/gnulib/lib/wcwidth.c')
-rw-r--r--macros/texinfo/texinfo/gnulib/lib/wcwidth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/texinfo/texinfo/gnulib/lib/wcwidth.c b/macros/texinfo/texinfo/gnulib/lib/wcwidth.c
index 1f081ccaa1..8d85082389 100644
--- a/macros/texinfo/texinfo/gnulib/lib/wcwidth.c
+++ b/macros/texinfo/texinfo/gnulib/lib/wcwidth.c
@@ -1,5 +1,5 @@
/* Determine the number of screen columns needed for a character.
- Copyright (C) 2006-2007, 2010-2019 Free Software Foundation, Inc.
+ Copyright (C) 2006-2007, 2010-2021 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -34,7 +34,7 @@ is_locale_utf8 (void)
return STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0);
}
-#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 is_locale_utf8. */
static int cached_is_locale_utf8 = -1;