diff --git a/src/misc.rs b/src/misc.rs index 4aa5182..100daae 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -17,3 +17,12 @@ pub unsafe extern "C" fn pthread_sigmask( ) -> ::libc::c_int { -1 } + +#[no_mangle] +pub extern "C" fn pthread_atfork( + _prepare: Option, + _parent: Option, + _child: Option, +) -> libc::c_int { + 0 +}