瀏覽代碼

time: add haiku

Laytan Laats 8 月之前
父節點
當前提交
e3c0cc9dfc
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      core/time/time_other.odin
  2. 1 1
      core/time/time_unix.odin

+ 1 - 0
core/time/time_other.odin

@@ -9,6 +9,7 @@
 #+build !wasi
 #+build !windows
 #+build !orca
+#+build !haiku
 package time
 
 _IS_SUPPORTED :: false

+ 1 - 1
core/time/time_unix.odin

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