Skip to content

Commit 904ffb2

Browse files
committed
Merge pull request #64 from dignati/freebsd-sigstksz
Fix SIGSTKSZ for FreeBSD
2 parents 761f04a + 8e35e26 commit 904ffb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/bsd/freebsdlike/freebsd.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
pub const PTHREAD_STACK_MIN: ::size_t = 2048;
22
pub const KERN_PROC_PATHNAME: ::c_int = 12;
3+
pub const SIGSTKSZ: ::size_t = 2048 /* MINSIGSTKSZ */ + 32768;
34

45
extern {
56
pub fn __error() -> *mut ::c_int;

0 commit comments

Comments
 (0)