mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Fix inline expects on macos
MacOS SIGUSR1 is signal 30, not 10 as it is on Linux. At least on MacOS clang, we need the added headers to the c platform's host to compile correctly.
This commit is contained in:
parent
de472015f6
commit
b6f53f22c3
2 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
const std = @import("std");
|
||||
const builtin = @import("builtin");
|
||||
|
||||
const SIGUSR1: c_int = 10;
|
||||
const SIGUSR1: c_int = if (builtin.os.tag.isDarwin()) 30 else 10;
|
||||
|
||||
const O_RDWR: c_int = 2;
|
||||
const O_CREAT: c_int = 64;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue