From affbfef4b61fc5d174a3e7e709c4553510e7aaec Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Sat, 4 Mar 2017 03:56:15 +0300 Subject: [PATCH] Another attempt to remove MSVC specific extensions (2) --- build/Jamfile.v2 | 5 +++-- build/has_windbg.cpp | 2 +- include/boost/stacktrace/detail/frame_msvc.ipp | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 2895857..15cfb05 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -13,7 +13,8 @@ project lib dl : : shared ; lib gcc_s : : shared ; -lib Dbghelp ; +lib Dbgeng ; +lib ole32 ; local LIBBACKTRACE_PATH = [ modules.peek : LIBBACKTRACE_PATH ] ; @@ -44,7 +45,7 @@ explicit libbacktrace ; mp-run-simple has_addr2line.cpp : : : : addr2line ; explicit addr2line ; -mp-run-simple has_windbg.cpp : : : : WinDbg ; +mp-run-simple has_windbg.cpp : : : Dbgeng ole32 : WinDbg ; explicit WinDbg ; lib boost_stacktrace_noop diff --git a/build/has_windbg.cpp b/build/has_windbg.cpp index e21f5ec..bffe709 100644 --- a/build/has_windbg.cpp +++ b/build/has_windbg.cpp @@ -7,7 +7,7 @@ #include #include -#include "Dbgeng.h" +#include "dbgeng.h" #pragma comment(lib, "ole32.lib") #pragma comment(lib, "Dbgeng.lib") diff --git a/include/boost/stacktrace/detail/frame_msvc.ipp b/include/boost/stacktrace/detail/frame_msvc.ipp index 6713fd5..dd6f445 100644 --- a/include/boost/stacktrace/detail/frame_msvc.ipp +++ b/include/boost/stacktrace/detail/frame_msvc.ipp @@ -35,7 +35,7 @@ #endif // Testing. Remove later -# define __uuidof(x) ::IID_ ## x +//# define __uuidof(x) ::IID_ ## x namespace boost { namespace stacktrace { namespace detail {