diff options
author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2019-09-20 22:50:50 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2019-09-21 22:10:46 +0200 |
commit | e0480bc800f2f8c452b3a7c33434010d94b76446 (patch) | |
tree | 7fa1e137d5d5ffe741f9e298983f3f055c3c4917 /inflate.c | |
parent | 9f16eae381726c721890ea7212445d5b6a7bd3c4 (diff) |
Unify detection of ARM getauxval code availability.
We don't want to compile arch-specific code when WITH_OPTIM is not set,
and the current checks don't take that into account.
Diffstat (limited to 'inflate.c')
-rw-r--r-- | inflate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -130,9 +130,9 @@ int ZEXPORT PREFIX(inflateInit2_)(PREFIX3(stream) *strm, int windowBits, const c int ret; struct inflate_state *state; -#ifdef X86_CPUID +#if defined(X86_CPUID) x86_check_features(); -#elif defined(__arm__) || defined(__aarch64__) || defined(_M_ARM) || defined(_M_ARM64) +#elif defined(ARM_GETAUXVAL) arm_check_features(); #endif |