Files
Odin/core/sys/info/cpu_other.odin
2026-02-23 23:55:36 +01:00

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 {}
}
}