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 @@ |
| 33 | 33 | #define _RISCV_SIGNAL_H_ |
| 34 | 34 | |
| 35 | 35 | #ifndef _LOCORE |
| 36 | | // zig patch: Clang does not define __SIG_ATOMIC_TYPE__ |
| 37 | | typedef int sig_atomic_t; |
| 36 | typedef __SIG_ATOMIC_TYPE__ sig_atomic_t; |
| 38 | 37 | #endif |
| 39 | 38 | |
| 40 | 39 | #endif /* _RISCV_SIGNAL_H_ */ |
lib/libc/include/generic-netbsd/riscv/signal.h+1-2
| ... | ... | @@ -33,8 +33,7 @@ |
| 33 | 33 | #define _RISCV_SIGNAL_H_ |
| 34 | 34 | |
| 35 | 35 | #ifndef _LOCORE |
| 36 | | // zig patch: Clang does not define __SIG_ATOMIC_TYPE__ |
| 37 | | typedef int sig_atomic_t; |
| 36 | typedef __SIG_ATOMIC_TYPE__ sig_atomic_t; |
| 38 | 37 | #endif |
| 39 | 38 | |
| 40 | 39 | #endif /* _RISCV_SIGNAL_H_ */ |