Skip to content

Commit

Permalink
Update from_exception.cpp
Browse files Browse the repository at this point in the history
Fixes build on mingw where the posix/dlsym path will fail to build even if a dlfcn wrapper is provided , its simpler to just use the msvc path for all windows targets

/cc @apolukhin from boostorg#147
  • Loading branch information
jschueller authored Aug 31, 2024
1 parent cbf0df7 commit 1eb805d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/from_exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#if defined(_MSC_VER)
#if defined(_WIN32)

#include <boost/stacktrace/safe_dump_to.hpp>
#include <windows.h>
Expand Down

0 comments on commit 1eb805d

Please sign in to comment.