Merge pull request #545 from costinm/patch-1
Allow compilation on platforms with unwind (android)
This commit is contained in:
		
						commit
						6fd5f3c866
					
				@ -42,7 +42,7 @@
 | 
			
		||||
#define SPDLOG_DEPRECATED
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __linux__
 | 
			
		||||
#if defined(__linux__) && !defined(__ANDROID__)
 | 
			
		||||
#include <cxxabi.h>
 | 
			
		||||
#define SPDLOG_CATCH_ALL catch (abi::__forced_unwind&) { _err_handler("Unknown exception"); throw; } catch (...)
 | 
			
		||||
#else // __linux__
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user