Fix all the imports to run nginx

This commit is contained in:
Brandon Fish
2019-01-24 23:58:54 -06:00
parent 25439b4df3
commit 5209b5a558
6 changed files with 695 additions and 48 deletions

View File

@ -26,7 +26,12 @@ pub extern "C" fn _sigaddset(set: u32, signum: u32, ctx: &mut Ctx) -> i32 {
0
}
pub extern "C" fn _sigprocmask() -> i32 {
pub extern "C" fn _sigsuspend(one: i32, ctx: &mut Ctx) -> i32 {
debug!("emscripten::_sigsuspend");
-1
}
pub extern "C" fn _sigprocmask(one: i32, two: i32, three: i32, ctx: &mut Ctx) -> i32 {
debug!("emscripten::_sigprocmask");
0
}