mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-05 02:04:06 +00:00
add haiku to unsupported time file
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
//+private
|
||||
//+build freestanding
|
||||
package time
|
||||
|
||||
_IS_SUPPORTED :: false
|
||||
|
||||
_now :: proc "contextless" () -> Time {
|
||||
return {}
|
||||
}
|
||||
|
||||
_sleep :: proc "contextless" (d: Duration) {
|
||||
}
|
||||
|
||||
_tick_now :: proc "contextless" () -> Tick {
|
||||
return {}
|
||||
}
|
||||
|
||||
_yield :: proc "contextless" () {
|
||||
}
|
||||
@@ -1,5 +1,13 @@
|
||||
//+private
|
||||
//+build orca
|
||||
//+build !essence
|
||||
//+build !js
|
||||
//+build !linux
|
||||
//+build !openbsd
|
||||
//+build !freebsd
|
||||
//+build !netbsd
|
||||
//+build !darwin
|
||||
//+build !wasi
|
||||
//+build !windows
|
||||
package time
|
||||
|
||||
_IS_SUPPORTED :: false
|
||||
@@ -1,5 +1,5 @@
|
||||
//+private
|
||||
//+build darwin, freebsd, openbsd, netbsd, haiku
|
||||
//+build darwin, freebsd, openbsd, netbsd
|
||||
package time
|
||||
|
||||
import "core:sys/posix"
|
||||
|
||||
Reference in New Issue
Block a user