mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Use __ANDROID__
Based on review feedback.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
#define SPDLOG_DEPRECATED
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) && !defined(SPDLOG_NO_UNWIND)
|
||||
#if defined(__linux__) && !defined(__ANDROID__)
|
||||
#include <cxxabi.h>
|
||||
#define SPDLOG_CATCH_ALL catch (abi::__forced_unwind&) { _err_handler("Unknown exception"); throw; } catch (...)
|
||||
#else // __linux__
|
||||
|
Reference in New Issue
Block a user