mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Apple M1: Refactor ArmCPUDetect.cpp
Merges two nested #ifndefs into a single #if around hw cap includes.
This commit is contained in:
@ -8,15 +8,13 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
#ifndef __APPLE__
|
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||||
#ifndef _WIN32
|
|
||||||
#ifndef __FreeBSD__
|
#ifndef __FreeBSD__
|
||||||
#include <asm/hwcap.h>
|
#include <asm/hwcap.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sys/auxv.h>
|
#include <sys/auxv.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user