diff options
| author | Platin21 <armin.hamar@icloud.com> | 2020-09-27 21:57:27 +0300 |
|---|---|---|
| committer | Platin21 <armin.hamar@icloud.com> | 2020-09-27 21:57:27 +0300 |
| commit | a71cbd4087cd7b29350a313f486c1db79867ca69 (patch) | |
| tree | 79fda118adbdd894f18e7bda600470de4eb5461d | |
| parent | 840af6825aa5a728bb7fab3be24edff34aa3d571 (diff) | |
Changed foreign imports to now use the System Framework
| -rw-r--r-- | core/os/os_darwin.odin | 4 | ||||
| -rw-r--r-- | 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" |