musl: sh4: add missing bits/reg.h
authorZoltan HERPAI <wigyori@uid0.hu>
Tue, 24 Oct 2023 20:49:58 +0000 (22:49 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 29 Apr 2024 07:56:27 +0000 (09:56 +0200)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
toolchain/musl/patches/990-sh4-add-missing-bits_reg.h [new file with mode: 0644]

diff --git a/toolchain/musl/patches/990-sh4-add-missing-bits_reg.h b/toolchain/musl/patches/990-sh4-add-missing-bits_reg.h
new file mode 100644 (file)
index 0000000..f8c684f
--- /dev/null
@@ -0,0 +1,6 @@
+diff -ruN musl-1.2.4.old/arch/sh/bits/reg.h musl-1.2.4/arch/sh/bits/reg.h
+--- musl-1.2.4.old/arch/sh/bits/reg.h  1970-01-01 01:00:00.000000000 +0100
++++ musl-1.2.4/arch/sh/bits/reg.h      2023-10-24 22:42:19.013309424 +0200
+@@ -0,0 +1,2 @@
++#undef __WORDSIZE
++#define __WORDSIZE 32