diff options
| author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2026-02-12 00:00:00 +0000 |
|---|---|---|
| committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2026-02-12 17:38:49 +0500 |
| commit | 839151eaaad24771892afaae6bac690e31e58384 (patch) | |
| tree | e292449d621f7a1d503b975984a2aca240dd2d8f /CPP/Windows/SystemInfo.cpp | |
| parent | 5e96a8279489832924056b1fa82f29d5837c9469 (diff) | |
| download | 7zip-839151eaaad24771892afaae6bac690e31e58384.tar.gz 7zip-839151eaaad24771892afaae6bac690e31e58384.tar.bz2 7zip-839151eaaad24771892afaae6bac690e31e58384.zip | |
Diffstat (limited to 'CPP/Windows/SystemInfo.cpp')
| -rw-r--r-- | CPP/Windows/SystemInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/Windows/SystemInfo.cpp b/CPP/Windows/SystemInfo.cpp index 35846e0..2eced2a 100644 --- a/CPP/Windows/SystemInfo.cpp +++ b/CPP/Windows/SystemInfo.cpp | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | #if defined(__GLIBC__) && (__GLIBC__ * 100 + __GLIBC_MINOR__ >= 216) | 23 | #if defined(__GLIBC__) && (__GLIBC__ * 100 + __GLIBC_MINOR__ >= 216) |
| 24 | #define Z7_GETAUXV_AVAILABLE | 24 | #define Z7_GETAUXV_AVAILABLE |
| 25 | #else | 25 | #elif !defined(__QNXNTO__) |
| 26 | // #pragma message("=== is not NEW GLIBC === ") | 26 | // #pragma message("=== is not NEW GLIBC === ") |
| 27 | #if defined __has_include | 27 | #if defined __has_include |
| 28 | #if __has_include (<sys/auxv.h>) | 28 | #if __has_include (<sys/auxv.h>) |
| @@ -58,7 +58,7 @@ | |||
| 58 | 58 | ||
| 59 | #ifdef USE_HWCAP | 59 | #ifdef USE_HWCAP |
| 60 | 60 | ||
| 61 | #if defined(__FreeBSD__) | 61 | #if defined(__FreeBSD__) || defined(__OpenBSD__) |
| 62 | 62 | ||
| 63 | // #if (__FreeBSD__ >= 13) // (FreeBSD 12.01 is required for elf_aux_info() ???) | 63 | // #if (__FreeBSD__ >= 13) // (FreeBSD 12.01 is required for elf_aux_info() ???) |
| 64 | static unsigned long MY_getauxval(int aux) | 64 | static unsigned long MY_getauxval(int aux) |
