mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-13 18:15:49 +00:00
14 lines
334 B
Odin
14 lines
334 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) {
|
|
return {}
|
|
}
|
|
} |