Apple M1: Refactor ArmCPUDetect.cpp

Merges two nested #ifndefs into a single #if around hw cap includes.
This commit is contained in:
Skyler Saleh 2021-04-17 16:50:24 -07:00
parent 4542038cd0
commit 61448a9b2f

View file

@ -8,15 +8,13 @@
#include <string>
#include <thread>
#ifndef __APPLE__
#ifndef _WIN32
#if !defined(_WIN32) && !defined(__APPLE__)
#ifndef __FreeBSD__
#include <asm/hwcap.h>
#endif
#include <sys/auxv.h>
#include <unistd.h>
#endif
#endif
#include <fmt/format.h>