mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
Remove core:os dependency for base:runtime
This commit is contained in:
@@ -5,7 +5,7 @@ package sync
|
||||
import "core:c"
|
||||
import "core:time"
|
||||
|
||||
foreign import System "System.framework"
|
||||
foreign import System "system:System.framework"
|
||||
|
||||
foreign System {
|
||||
// __ulock_wait is not available on 10.15
|
||||
|
||||
@@ -5,7 +5,7 @@ package sync
|
||||
import "core:c"
|
||||
import "base:intrinsics"
|
||||
|
||||
foreign import pthread "System.framework"
|
||||
foreign import pthread "system:System.framework"
|
||||
|
||||
_current_thread_id :: proc "contextless" () -> int {
|
||||
tid: u64
|
||||
|
||||
Reference in New Issue
Block a user