aboutsummaryrefslogtreecommitdiff
path: root/C/CpuArch.c
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2026-02-12 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2026-02-12 17:38:49 +0500
commit839151eaaad24771892afaae6bac690e31e58384 (patch)
treee292449d621f7a1d503b975984a2aca240dd2d8f /C/CpuArch.c
parent5e96a8279489832924056b1fa82f29d5837c9469 (diff)
download7zip-26.00.tar.gz
7zip-26.00.tar.bz2
7zip-26.00.zip
Diffstat (limited to 'C/CpuArch.c')
-rw-r--r--C/CpuArch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/C/CpuArch.c b/C/CpuArch.c
index 6e02551..342280d 100644
--- a/C/CpuArch.c
+++ b/C/CpuArch.c
@@ -859,7 +859,7 @@ BoolInt CPU_IsSupported_AES (void) { return APPLE_CRYPTO_SUPPORT_VAL; }
859 859
860#if defined(__GLIBC__) && (__GLIBC__ * 100 + __GLIBC_MINOR__ >= 216) 860#if defined(__GLIBC__) && (__GLIBC__ * 100 + __GLIBC_MINOR__ >= 216)
861 #define Z7_GETAUXV_AVAILABLE 861 #define Z7_GETAUXV_AVAILABLE
862#else 862#elif !defined(__QNXNTO__)
863// #pragma message("=== is not NEW GLIBC === ") 863// #pragma message("=== is not NEW GLIBC === ")
864 #if defined __has_include 864 #if defined __has_include
865 #if __has_include (<sys/auxv.h>) 865 #if __has_include (<sys/auxv.h>)
@@ -877,7 +877,7 @@ BoolInt CPU_IsSupported_AES (void) { return APPLE_CRYPTO_SUPPORT_VAL; }
877 877
878#ifdef USE_HWCAP 878#ifdef USE_HWCAP
879 879
880#if defined(__FreeBSD__) 880#if defined(__FreeBSD__) || defined(__OpenBSD__)
881static unsigned long MY_getauxval(int aux) 881static unsigned long MY_getauxval(int aux)
882{ 882{
883 unsigned long val; 883 unsigned long val;