Merge pull request #4524 from roc-lang/fix-expects-macos

Fix inline expects on macos
This commit is contained in:
Folkert de Vries 2022-11-15 19:48:35 +01:00 committed by GitHub
commit 8a494d11b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -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;