mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 08:46:47 +08:00
Fix a -Wundef warning on macOS with Apple silicon
Change-Id: Ia78dcc913e06dd8876119a96bd7760c1d2af4341 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5788821 Reviewed-by: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
parent
6157cc4583
commit
0c2cf03c5c
@ -93,8 +93,7 @@ int MipsCpuCaps(const char* cpuinfo_name);
|
||||
LIBYUV_API
|
||||
int RiscvCpuCaps(const char* cpuinfo_name);
|
||||
|
||||
#ifdef __aarch64__
|
||||
#if __linux__
|
||||
#ifdef __linux__
|
||||
// On Linux, parse AArch64 features from getauxval(AT_HWCAP{,2}).
|
||||
LIBYUV_API
|
||||
int AArch64CpuCaps(unsigned long hwcap, unsigned long hwcap2);
|
||||
@ -102,7 +101,6 @@ int AArch64CpuCaps(unsigned long hwcap, unsigned long hwcap2);
|
||||
LIBYUV_API
|
||||
int AArch64CpuCaps();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// For testing, allow CPU flags to be disabled.
|
||||
// ie MaskCpuFlags(~kCpuHasSSSE3) to disable SSSE3.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user