add haiku to unsupported time file

This commit is contained in:
Laytan Laats
2024-08-16 23:18:59 +02:00
parent 970dc7a1f2
commit e8933e43ec
3 changed files with 10 additions and 21 deletions

View File

@@ -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" () {
}

View File

@@ -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

View File

@@ -1,5 +1,5 @@
//+private
//+build darwin, freebsd, openbsd, netbsd, haiku
//+build darwin, freebsd, openbsd, netbsd
package time
import "core:sys/posix"