mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] [PATCH] remove non-generic __WORDSIZE definition
@ 2026-02-03 20:54 Sertonix
  0 siblings, 0 replies; only message in thread
From: Sertonix @ 2026-02-03 20:54 UTC (permalink / raw)
  To: musl


7019fbe10316 (sys/user.h: derive __WORDSIZE from __LONG_MAX) didn't
change i386 and m68k for seemingly no reason

---
 arch/i386/bits/user.h | 3 ---
 arch/m68k/bits/user.h | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/arch/i386/bits/user.h b/arch/i386/bits/user.h
index 33fea986..939db4a2 100644
--- a/arch/i386/bits/user.h
+++ b/arch/i386/bits/user.h
@@ -1,6 +1,3 @@
-#undef __WORDSIZE
-#define __WORDSIZE 32
-
 typedef struct user_fpregs_struct {
 	long cwd, swd, twd, fip, fcs, foo, fos, st_space[20];
 } elf_fpregset_t;
diff --git a/arch/m68k/bits/user.h b/arch/m68k/bits/user.h
index 6a443919..2250967b 100644
--- a/arch/m68k/bits/user.h
+++ b/arch/m68k/bits/user.h
@@ -1,6 +1,3 @@
-#undef __WORDSIZE
-#define __WORDSIZE 32
-
 struct user_m68kfp_struct {
 	unsigned long fpregs[24], fpcntl[3];
 };
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-02-03 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03 20:54 [musl] [PATCH] remove non-generic __WORDSIZE definition Sertonix

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).