From a71cbd4087cd7b29350a313f486c1db79867ca69 Mon Sep 17 00:00:00 2001 From: Platin21 Date: Sun, 27 Sep 2020 21:57:27 +0300 Subject: [PATCH] Changed foreign imports to now use the System Framework --- core/os/os_darwin.odin | 4 ++-- core/sys/darwin/mach_darwin.odin | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/os/os_darwin.odin b/core/os/os_darwin.odin index 5169572b5..36cd13804 100644 --- a/core/os/os_darwin.odin +++ b/core/os/os_darwin.odin @@ -1,8 +1,8 @@ package os foreign import dl "system:dl" -foreign import libc "system:c" -foreign import pthread "system:pthread" +foreign import libc "System.framework" +foreign import pthread "System.framework" import "core:runtime" import "core:strings" diff --git a/core/sys/darwin/mach_darwin.odin b/core/sys/darwin/mach_darwin.odin index 52a145507..25fc63c32 100644 --- a/core/sys/darwin/mach_darwin.odin +++ b/core/sys/darwin/mach_darwin.odin @@ -1,6 +1,6 @@ package darwin; -foreign import "system:pthread" +foreign import pthread "System.framework" import "core:c"