Browse Source

add haiku to unsupported time file

Laytan Laats 1 year ago
parent
commit
e8933e43ec
3 changed files with 10 additions and 21 deletions
  1. 0 19
      core/time/time_freestanding.odin
  2. 9 1
      core/time/time_other.odin
  3. 1 1
      core/time/time_unix.odin

+ 0 - 19
core/time/time_freestanding.odin

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

+ 9 - 1
core/time/time_orca.odin → core/time/time_other.odin

@@ -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 - 1
core/time/time_unix.odin

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