]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
regex: Fix "macro redefinition" warning on MSVC.
authorBruno Haible <bruno@clisp.org>
Wed, 13 May 2026 10:07:30 +0000 (12:07 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 13 May 2026 10:07:30 +0000 (12:07 +0200)
* lib/regex_internal.h (wctype_t): Undefine before redefining it.

ChangeLog
lib/regex_internal.h

index 2c73245a7974f1c535331ac7a3e964476ad98426..c5a64cbbd8810b92d1ae7cde729285a54a29fc61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-05-13  Bruno Haible  <bruno@clisp.org>
+
+       regex: Fix "macro redefinition" warning on MSVC.
+       * lib/regex_internal.h (wctype_t): Undefine before redefining it.
+
 2026-05-12  Simon Josefsson  <simon@josefsson.org>
 
        announce-gen: Ignore libtoolize --version Debianism
index 1ffa905e95a428f55c23ff0acd77b24a8505eaf0..2409170b0a349f9fa4ba3b75361466369a768306 100644 (file)
 # include <wctype.h>
 #else
 # include <uchar.h>
+# undef wctype_t
 # undef __wctype
 # undef __iswalnum
 # undef __iswctype