From 6d6567c8de1ef09e4b41f10f8c07a83c6111c1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Kr=C3=BCger?= Date: Fri, 27 Nov 2015 23:23:09 +0100 Subject: [PATCH] Fix freebsd-likes stage2 build --- src/unix/bsd/freebsdlike/dragonfly.rs | 2 +- src/unix/bsd/freebsdlike/freebsd.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/bsd/freebsdlike/dragonfly.rs b/src/unix/bsd/freebsdlike/dragonfly.rs index 91fc85b45878d..0adaab1df2d9a 100644 --- a/src/unix/bsd/freebsdlike/dragonfly.rs +++ b/src/unix/bsd/freebsdlike/dragonfly.rs @@ -1,6 +1,6 @@ pub const PTHREAD_STACK_MIN: ::size_t = 1024; pub const KERN_PROC_PATHNAME: ::c_int = 9; -pub const SIGSTKSZ: ::size_t = 8192 /* MINSIGSTKSZ */ + 32768; +pub const SIGSTKSZ: ::size_t = 40960; extern { pub fn __dfly_error() -> *const ::c_int; diff --git a/src/unix/bsd/freebsdlike/freebsd.rs b/src/unix/bsd/freebsdlike/freebsd.rs index 0f1aa0d36b113..9e6d985f9d7c0 100644 --- a/src/unix/bsd/freebsdlike/freebsd.rs +++ b/src/unix/bsd/freebsdlike/freebsd.rs @@ -1,6 +1,6 @@ pub const PTHREAD_STACK_MIN: ::size_t = 2048; pub const KERN_PROC_PATHNAME: ::c_int = 12; -pub const SIGSTKSZ: ::size_t = 2048 /* MINSIGSTKSZ */ + 32768; +pub const SIGSTKSZ: ::size_t = 34816; extern { pub fn __error() -> *mut ::c_int;