diff options
-rw-r--r-- | src/build-data/os/netbsd.txt | 2 | ||||
-rw-r--r-- | src/lib/utils/os_utils.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/build-data/os/netbsd.txt b/src/build-data/os/netbsd.txt index 7bc43493f..393f001ab 100644 --- a/src/build-data/os/netbsd.txt +++ b/src/build-data/os/netbsd.txt @@ -14,7 +14,7 @@ sockets threads thread_local filesystem -_dlauxinfo +auxinfo </target_features> <feature_macros> diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp index 349c7a695..fc387e111 100644 --- a/src/lib/utils/os_utils.cpp +++ b/src/lib/utils/os_utils.cpp @@ -45,7 +45,7 @@ #include <sys/auxv.h> #endif -#if defined(BOTAN_TARGET_OS_HAS__DLAUXINFO) +#if defined(BOTAN_TARGET_OS_HAS_AUXINFO) #include <dlfcn.h> #include <elf.h> #endif @@ -179,7 +179,7 @@ unsigned long OS::get_auxval(unsigned long id) unsigned long auxinfo = 0; ::elf_aux_info(static_cast<int>(id), &auxinfo, sizeof(auxinfo)); return auxinfo; -#elif defined(BOTAN_TARGET_OS_HAS__DLAUXINFO) +#elif defined(BOTAN_TARGET_OS_HAS_AUXINFO) for (const AuxInfo *auxinfo = static_cast<AuxInfo *>(::_dlauxinfo()); auxinfo != AT_NULL; ++auxinfo) { if (id == auxinfo->a_type) |