diff options
author | Bruno Haible <bruno@clisp.org> | 2021-03-07 10:45:58 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-03-07 11:02:00 +0100 |
commit | 2a200f4eb4754823c5674580bb0b68a88fd35077 (patch) | |
tree | b87e5a47fae25f5d30e9be9b97f5158e21ae72f8 /lib/wcwidth.c | |
parent | cd057fa80c74dcf1d0a74290cb5ad6cdc3136428 (diff) | |
download | gnulib-2a200f4eb4754823c5674580bb0b68a88fd35077.tar.gz |
Rename GNULIB_WCHAR_SINGLE to GNULIB_WCHAR_SINGLE_LOCALE.
* lib/lc-charset-dispatch.c: Test GNULIB_WCHAR_SINGLE_LOCALE instead of
GNULIB_WCHAR_SINGLE.
* lib/wcwidth.c: Likewise.
* tests/test-wcwidth.c: Likewise.
* doc/multithread.texi: Document GNULIB_WCHAR_SINGLE_LOCALE instead of
GNULIB_WCHAR_SINGLE.
* NEWS: Document the change.
Diffstat (limited to 'lib/wcwidth.c')
-rw-r--r-- | lib/wcwidth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wcwidth.c b/lib/wcwidth.c index 9009ebc7d5..8d85082389 100644 --- a/lib/wcwidth.c +++ b/lib/wcwidth.c @@ -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; |