mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
14 lines
351 B
Odin
14 lines
351 B
Odin
#+build openbsd, freebsd, netbsd, essence, haiku
|
|
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, ok: bool) {
|
|
return {}, false
|
|
}
|
|
} |