mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-25 13:18:14 +00:00
also removes Haiku from core:sys/info, core:os/old, core:path/filepath, core:dynlib, core:time, core:testing, and core:terminal (minor changes) Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
15 lines
319 B
Odin
15 lines
319 B
Odin
#+build openbsd, freebsd, netbsd
|
|
package sysinfo
|
|
|
|
@(private)
|
|
_cpu_core_count :: proc "contextless" () -> (physical: int, logical: int, ok: bool) {
|
|
return 0, 0, false
|
|
}
|
|
|
|
when ODIN_ARCH == .arm32 || ODIN_ARCH == .arm64 {
|
|
@(private)
|
|
_cpu_features :: proc "contextless" () -> (features: CPU_Features) {
|
|
return {}
|
|
}
|
|
}
|