From d695a8a52631aafcedeb2472c4d405c51547c651 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 15 Feb 2022 16:02:14 +0000 Subject: [PATCH] Update os_darwin.odin --- core/os/os_darwin.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/os_darwin.odin b/core/os/os_darwin.odin index 71c9fac38..a011fa58a 100644 --- a/core/os/os_darwin.odin +++ b/core/os/os_darwin.odin @@ -320,7 +320,7 @@ foreign libc { @(link_name="exit") _unix_exit :: proc(status: c.int) -> ! --- } -when ODIN_ARCH != "arm64" { +when ODIN_ARCH != .arm64 { _unix_fdopendir :: proc {_unix_fdopendir_amd64} _unix_readdir_r :: proc {_unix_readdir_r_amd64} } else {