fixes for zig tests Windows

This commit is contained in:
Luke Boswell 2023-09-12 19:24:17 +10:00
parent 2f511779a6
commit 2e0c83ae63
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
4 changed files with 21 additions and 16 deletions

View file

@ -52,6 +52,10 @@ comptime {
@export(testing_roc_mmap, .{ .name = "roc_mmap", .linkage = .Strong });
@export(testing_roc_shm_open, .{ .name = "roc_shm_open", .linkage = .Strong });
}
if (builtin.os.tag == .windows) {
@export(roc_getppid_windows_stub, .{ .name = "roc_getppid", .linkage = .Strong });
}
}
}