authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-13 05:17:30+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-05 14:54:31+02:00
log65434917c0a95e701fce5ff68d6a97674ebcffbc
tree5cd4b23433aa7d79d977d0becab07d1fed96b736
parent7bda3dc5389f766104870821f0cc961ca7a0d381
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

libc: remove __SIG_ATOMIC_TYPE__ workaround for riscv(32,64)-netbsd


2 files changed, 2 insertions(+), 4 deletions(-)

lib/libc/include/generic-netbsd/machine/signal.h+1-2
......@@ -33,8 +33,7 @@
3333#define _RISCV_SIGNAL_H_
3434
3535#ifndef _LOCORE
36// zig patch: Clang does not define __SIG_ATOMIC_TYPE__
37typedef int sig_atomic_t;
36typedef __SIG_ATOMIC_TYPE__ sig_atomic_t;
3837#endif
3938
4039#endif /* _RISCV_SIGNAL_H_ */
lib/libc/include/generic-netbsd/riscv/signal.h+1-2
......@@ -33,8 +33,7 @@
3333#define _RISCV_SIGNAL_H_
3434
3535#ifndef _LOCORE
36// zig patch: Clang does not define __SIG_ATOMIC_TYPE__
37typedef int sig_atomic_t;
36typedef __SIG_ATOMIC_TYPE__ sig_atomic_t;
3837#endif
3938
4039#endif /* _RISCV_SIGNAL_H_ */