mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
make new extern functions compile on windows
This commit is contained in:
parent
9840cd53df
commit
b6b7d186e4
8 changed files with 57 additions and 0 deletions
|
@ -30,6 +30,11 @@ extern fn getppid() c_int;
|
|||
fn testing_roc_getppid() callconv(.C) c_int {
|
||||
return getppid();
|
||||
}
|
||||
|
||||
fn roc_getppid_windows_stub() callconv(.C) c_int {
|
||||
return 0;
|
||||
}
|
||||
|
||||
fn testing_roc_send_signal(pid: c_int, sig: c_int) callconv(.C) c_int {
|
||||
return kill(pid, sig);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue