Allow compilation on platforms with unwind (android)
This commit is contained in:
		@@ -42,7 +42,7 @@
 | 
				
			|||||||
#define SPDLOG_DEPRECATED
 | 
					#define SPDLOG_DEPRECATED
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __linux__
 | 
					#if defined(__linux__) && !defined(SPDLOG_NO_UNWIND)
 | 
				
			||||||
#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__
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user