Use __ANDROID__

Based on review feedback.
This commit is contained in:
Costin Manolache 2017-11-03 19:37:38 -07:00 committed by GitHub
parent 23dd8d3559
commit f4f3e3fb66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
#define SPDLOG_DEPRECATED #define SPDLOG_DEPRECATED
#endif #endif
#if defined(__linux__) && !defined(SPDLOG_NO_UNWIND) #if defined(__linux__) && !defined(__ANDROID__)
#include <cxxabi.h> #include <cxxabi.h>
#define SPDLOG_CATCH_ALL catch (abi::__forced_unwind&) { _err_handler("Unknown exception"); throw; } catch (...) #define SPDLOG_CATCH_ALL catch (abi::__forced_unwind&) { _err_handler("Unknown exception"); throw; } catch (...)
#else // __linux__ #else // __linux__