[PATCH 1/1] newlib: fix the definition of ULONG_WIDTH in stdbit_internal.h
H. Peter Anvin
hpa@zytor.com
Thu Dec 3 21:38:00 GMT 2026
ULONG_WIDTH should (obviously) be __LONG_WIDTH__, not
__LONG_LONG_WIDTH__.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
---
newlib/libc/stdbit/stdbit_internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newlib/libc/stdbit/stdbit_internal.h b/newlib/libc/stdbit/stdbit_internal.h
index 0d99c691b96f..a0a2e556db6b 100644
--- a/newlib/libc/stdbit/stdbit_internal.h
+++ b/newlib/libc/stdbit/stdbit_internal.h
@@ -37,7 +37,7 @@
#endif
#ifndef ULONG_WIDTH
-#define ULONG_WIDTH __LONG_LONG_WIDTH__
+#define ULONG_WIDTH __LONG_WIDTH__
#endif
#ifndef ULLONG_WIDTH
--
2.56.1
More information about the Newlib
mailing list