Unverified Commit 23dd8d35 authored by Costin Manolache's avatar Costin Manolache Committed by GitHub

Allow compilation on platforms with unwind (android)

parent 47c17be9
......@@ -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__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment