mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-01-24 06:22:10 +00:00
Fixed MSVC related compilation issues
This commit is contained in:
@@ -21,14 +21,10 @@ BOOST_NOINLINE void foo(int i) {
|
||||
bar(--i);
|
||||
}
|
||||
|
||||
#if defined(BOOST_GCC) && defined(BOOST_WINDOWS)
|
||||
|
||||
// MinGW workaround
|
||||
// MinGW and MSVC workarounds
|
||||
#include <cstdlib> // ::_Exit
|
||||
namespace std { using ::_Exit; }
|
||||
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//[getting_started_terminate_handlers
|
||||
|
||||
Reference in New Issue
Block a user