mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 05:56:39 +00:00 
			
		
		
		
	The crashcatcher.cpp is not linked on Android because it's not supported but the function need to have some definition. Make it empty to avoid link failures.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef CRASHCATCHER_H
 | 
						|
#define CRASHCATCHER_H
 | 
						|
 | 
						|
#include <filesystem>
 | 
						|
 | 
						|
#if (defined(__APPLE__) || (defined(__linux) && !defined(ANDROID)) || (defined(__unix) && !defined(ANDROID))           \
 | 
						|
    || defined(__posix))
 | 
						|
void crashCatcherInstall(int argc, char** argv, const std::filesystem::path& crashLogPath);
 | 
						|
#else
 | 
						|
inline void crashCatcherInstall(int /*argc*/, char** /*argv*/, const std::filesystem::path& /*crashLogPath*/) {}
 | 
						|
#endif
 | 
						|
 | 
						|
#endif
 |