mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-14 06:13:45 +00:00
15 lines
326 B
Odin
15 lines
326 B
Odin
#+build openbsd, freebsd, netbsd, 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 {}
|
|
}
|
|
}
|