]> Savannah Git Hosting - gnulib.git/commitdiff
wchar-single: fix module broken since 2021
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Aug 2023 17:15:09 +0000 (10:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Aug 2023 17:16:39 +0000 (10:16 -0700)
Adjust to 2021-03-07 change “Rename GNULIB_WCHAR_SINGLE to
GNULIB_WCHAR_SINGLE_LOCALE”.  Apparently nobody noticed that
the module was broken.  Perhaps we should obsolete the module?
* modules/wchar-single (GNULIB_WCHAR_SINGLE_LOCALE): Define.

ChangeLog
modules/wchar-single

index a83960083966ab1cc103bae530cb73ba3237ae4c..702f195ec050dedb83ef4b09bafb919699fde1e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-08-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       wchar-single: fix module broken since 2021
+       Adjust to 2021-03-07 change “Rename GNULIB_WCHAR_SINGLE to
+       GNULIB_WCHAR_SINGLE_LOCALE”.  Apparently nobody noticed that
+       the module was broken.  Perhaps we should obsolete the module?
+       * modules/wchar-single (GNULIB_WCHAR_SINGLE_LOCALE): Define.
+
 2023-08-29  Bruno Haible  <bruno@clisp.org>
 
        wctype: Rely on module iswpunct.
index e047de008b552127609168fc9313c0e879e06c0a..08f6a850210ad86baceeb340678612fb313320de 100644 (file)
@@ -8,6 +8,10 @@ Depends-on:
 wchar
 
 configure.ac:
+AC_DEFINE([GNULIB_WCHAR_SINGLE_LOCALE], [1],
+  [Define to 1 to enable more efficient wchar replacements,
+   where we know the locale charset will not change between calls.])
+dnl For backward compatibility:
 gl_MODULE_INDICATOR([wchar-single])
 
 Makefile.am: