summaryrefslogtreecommitdiff
path: root/boost/stacktrace/detail/location_from_symbol.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/stacktrace/detail/location_from_symbol.hpp')
-rw-r--r--boost/stacktrace/detail/location_from_symbol.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/boost/stacktrace/detail/location_from_symbol.hpp b/boost/stacktrace/detail/location_from_symbol.hpp
index ed82ef50b6..534ac91075 100644
--- a/boost/stacktrace/detail/location_from_symbol.hpp
+++ b/boost/stacktrace/detail/location_from_symbol.hpp
@@ -15,7 +15,7 @@
#if !defined(BOOST_WINDOWS) && !defined(__CYGWIN__)
# include <dlfcn.h>
#else
-# include <boost/detail/winapi/dll.hpp>
+# include <boost/winapi/dll.hpp>
#endif
namespace boost { namespace stacktrace { namespace detail {
@@ -52,20 +52,20 @@ public:
#else
class location_from_symbol {
- BOOST_STATIC_CONSTEXPR boost::detail::winapi::DWORD_ DEFAULT_PATH_SIZE_ = 260;
+ BOOST_STATIC_CONSTEXPR boost::winapi::DWORD_ DEFAULT_PATH_SIZE_ = 260;
char file_name_[DEFAULT_PATH_SIZE_];
public:
explicit location_from_symbol(const void* addr) BOOST_NOEXCEPT {
file_name_[0] = '\0';
- boost::detail::winapi::MEMORY_BASIC_INFORMATION_ mbi;
- if (!boost::detail::winapi::VirtualQuery(addr, &mbi, sizeof(mbi))) {
+ boost::winapi::MEMORY_BASIC_INFORMATION_ mbi;
+ if (!boost::winapi::VirtualQuery(addr, &mbi, sizeof(mbi))) {
return;
}
- boost::detail::winapi::HMODULE_ handle = reinterpret_cast<boost::detail::winapi::HMODULE_>(mbi.AllocationBase);
- if (!boost::detail::winapi::GetModuleFileNameA(handle, file_name_, DEFAULT_PATH_SIZE_)) {
+ boost::winapi::HMODULE_ handle = reinterpret_cast<boost::winapi::HMODULE_>(mbi.AllocationBase);
+ if (!boost::winapi::GetModuleFileNameA(handle, file_name_, DEFAULT_PATH_SIZE_)) {
file_name_[0] = '\0';
return;
}
@@ -81,15 +81,15 @@ public:
};
class program_location {
- BOOST_STATIC_CONSTEXPR boost::detail::winapi::DWORD_ DEFAULT_PATH_SIZE_ = 260;
+ BOOST_STATIC_CONSTEXPR boost::winapi::DWORD_ DEFAULT_PATH_SIZE_ = 260;
char file_name_[DEFAULT_PATH_SIZE_];
public:
program_location() BOOST_NOEXCEPT {
file_name_[0] = '\0';
- const boost::detail::winapi::HMODULE_ handle = 0;
- if (!boost::detail::winapi::GetModuleFileNameA(handle, file_name_, DEFAULT_PATH_SIZE_)) {
+ const boost::winapi::HMODULE_ handle = 0;
+ if (!boost::winapi::GetModuleFileNameA(handle, file_name_, DEFAULT_PATH_SIZE_)) {
file_name_[0] = '\0';
}
}