diff options
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) |
