Problem reported by Mattias EngdegÄrd <https://bugs.gnu.org/70898#8>.
* lib/stdbit.in.h (__gl_stdbit_popcount_support) [_MSC_VER]:
Fix misspelling in decl.
---
 ChangeLog       | 7 +++++++
 lib/stdbit.in.h | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0f9be38ca8..97d3ab8813 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-05-13  Paul Eggert  <egg...@cs.ucla.edu>
+
+       stdbit: fix typo in MS-Windows port
+       Problem reported by Mattias EngdegÄrd <https://bugs.gnu.org/70898#8>.
+       * lib/stdbit.in.h (__gl_stdbit_popcount_support) [_MSC_VER]:
+       Fix misspelling in decl.
+
 2024-05-13  Bruno Haible  <br...@clisp.org>
 
        doc: Document <stdbit.h> function-like macros.
diff --git a/lib/stdbit.in.h b/lib/stdbit.in.h
index 36349af1fd..15533dbbda 100644
--- a/lib/stdbit.in.h
+++ b/lib/stdbit.in.h
@@ -272,7 +272,7 @@ __popcnt64 (unsigned long long int n)
 #  endif
 
 /* 1 if supported, -1 if not, 0 if unknown.  */
-extern signed char __gl_stdint_popcount_support;
+extern signed char __gl_stdbit_popcount_support;
 
 _GL_STDBIT_INLINE bool
 __gl_stdbit_popcount_supported (void)
-- 
2.40.1


Reply via email to