summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-21 20:38:50 -0400
committermidipix <writeonce@midipix.org>2015-03-21 20:38:50 -0400
commitcfe6f1f502ec231e3dff69adab318b487d6360bc (patch)
treec3a79d297a5ebff83aa565990cbd37616fb0e654
parent923617aef5cbe81f1e4b4fc59d406d94ccca07f8 (diff)
downloadmmglue-cfe6f1f502ec231e3dff69adab318b487d6360bc.tar.bz2
mmglue-cfe6f1f502ec231e3dff69adab318b487d6360bc.tar.xz
redefine MINSIGSTKSZ to reflect the arch's large signal context.
+ see musl commit d5a5045382315e36588ca225889baa36ed0ed38f for additional information.
-rw-r--r--arch/nt64/bits/signal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/nt64/bits/signal.h b/arch/nt64/bits/signal.h
index b3a7616..e3c3141 100644
--- a/arch/nt64/bits/signal.h
+++ b/arch/nt64/bits/signal.h
@@ -1,6 +1,11 @@
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+#define MINSIGSTKSZ 2048
+#define SIGSTKSZ 8192
+#endif
+
#ifdef _GNU_SOURCE
#define REG_R8 0
#define REG_R9 1