mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +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
|
//+private
|
||||||
//+build orca
|
//+build !essence
|
||||||
|
//+build !js
|
||||||
|
//+build !linux
|
||||||
|
//+build !openbsd
|
||||||
|
//+build !freebsd
|
||||||
|
//+build !netbsd
|
||||||
|
//+build !darwin
|
||||||
|
//+build !wasi
|
||||||
|
//+build !windows
|
||||||
package time
|
package time
|
||||||
|
|
||||||
_IS_SUPPORTED :: false
|
_IS_SUPPORTED :: false
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
//+private
|
//+private
|
||||||
//+build darwin, freebsd, openbsd, netbsd, haiku
|
//+build darwin, freebsd, openbsd, netbsd
|
||||||
package time
|
package time
|
||||||
|
|
||||||
import "core:sys/posix"
|
import "core:sys/posix"
|
||||||
|
|||||||
Reference in New Issue
Block a user