We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac5d13 commit 887520aCopy full SHA for 887520a
libc/include/llvm-libc-macros/linux/signal-macros.h
@@ -76,15 +76,12 @@
76
#define SS_ONSTACK 0x1
77
#define SS_DISABLE 0x2
78
79
-#ifdef __x86_64__
+#if defined(__x86_64__) || defined(__i386__) || defined(__riscv)
80
#define MINSIGSTKSZ 2048
81
#define SIGSTKSZ 8192
82
#elif defined(__aarch64__)
83
#define MINSIGSTKSZ 5120
84
#define SIGSTKSZ 16384
85
-#elif defined(__riscv)
86
-#define MINSIGSTKSZ 2048
87
-#define SIGSTKSZ 8192
88
#else
89
#error "Signal stack sizes not defined for your platform."
90
#endif
0 commit comments