mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Allow compilation on platforms with unwind (android)
This commit is contained in:
parent
47c17be9a1
commit
23dd8d3559
@ -42,7 +42,7 @@
|
||||
#define SPDLOG_DEPRECATED
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && !defined(SPDLOG_NO_UNWIND)
|
||||
#include <cxxabi.h>
|
||||
#define SPDLOG_CATCH_ALL catch (abi::__forced_unwind&) { _err_handler("Unknown exception"); throw; } catch (...)
|
||||
#else // __linux__
|
||||
|
Loading…
Reference in New Issue
Block a user