mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-01-24 06:22:10 +00:00
MinGW fixes
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include <boost/stacktrace/detail/try_demangle.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <execinfo.h>
|
||||
#include <cstdio>
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
file_name_[0] = '\0';
|
||||
|
||||
boost::detail::winapi::MEMORY_BASIC_INFORMATION_ mbi;
|
||||
if (!boost::detail::winapi::VirtualQuery(ptr, &mbi, sizeof(mbi))) {
|
||||
if (!boost::detail::winapi::VirtualQuery(addr, &mbi, sizeof(mbi))) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user