File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 5757 !defined (__QNX__) && (defined (__arm__) || defined (__aarch64__))
5858#include < asm/hwcap.h> /* Get HWCAP bits from asm/hwcap.h */
5959#include < sys/auxv.h>
60- #elif (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__APPLE__)) && defined(__aarch64__)
60+ #elif (defined(__APPLE__)) && defined(__aarch64__)
61+ #include < sys/sysctl.h>
62+ #include < sys/types.h>
63+ #elif (defined(__OpenBSD__) || defined(__FreeBSD__))
6164#include < sys/auxv.h>
6265#include < sys/sysctl.h>
6366#include < sys/types.h>
@@ -439,7 +442,6 @@ CpuInfo CpuInfo::build()
439442 return info;
440443
441444#elif defined(__aarch64__) && (defined(__OpenBSD__) || defined(__FreeBSD__))
442- /* #elif(BARE_METAL) && defined(__aarch64__) */
443445 int ncpus = sysconf (_SC_NPROCESSORS_ONLN);
444446
445447 unsigned long hwcap = 0 , hwcap2 = 0 ;
You can’t perform that action at this time.
0 commit comments