mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 06:25:10 +00:00
improve windows support
This commit is contained in:
parent
b6b7d186e4
commit
eafa1d6e5f
2 changed files with 9 additions and 0 deletions
|
@ -111,6 +111,10 @@ comptime {
|
|||
@export(roc_send_signal, .{ .name = "roc_send_signal", .linkage = .Strong });
|
||||
@export(roc_shm_open, .{ .name = "roc_shm_open", .linkage = .Strong });
|
||||
}
|
||||
|
||||
if (builtin.os.tag == .windows) {
|
||||
@export(roc_getppid_windows_stub, .{ .name = "roc_getppid", .linkage = .Strong });
|
||||
}
|
||||
}
|
||||
|
||||
pub export fn main() u8 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue