mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 06:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			492 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			492 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef CRASHCATCHER_H
 | 
						|
#define CRASHCATCHER_H
 | 
						|
 | 
						|
#include <string>
 | 
						|
 | 
						|
#if (defined(__APPLE__) || (defined(__linux)  &&  !defined(ANDROID)) || (defined(__unix) &&  !defined(ANDROID)) || defined(__posix))
 | 
						|
    #define USE_CRASH_CATCHER 1
 | 
						|
#else
 | 
						|
    #define USE_CRASH_CATCHER 0
 | 
						|
#endif
 | 
						|
 | 
						|
#if USE_CRASH_CATCHER
 | 
						|
extern void crashCatcherInstall(int argc, char **argv, const std::string &crashLogPath);
 | 
						|
#else
 | 
						|
inline void crashCatcherInstall(int, char **, const std::string &crashLogPath)
 | 
						|
{
 | 
						|
}
 | 
						|
#endif
 | 
						|
 | 
						|
#endif
 |