mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	fix build on osx (#695)
This commit is contained in:
		@@ -46,7 +46,11 @@ Logger::Logger ( std::string name, LogLevel minLevel ):
 | 
			
		||||
	_syslogEnabled(true),
 | 
			
		||||
	_loggerId(loggerId++)
 | 
			
		||||
{
 | 
			
		||||
#ifdef GLIBC
 | 
			
		||||
	_appname = std::string(program_invocation_short_name);
 | 
			
		||||
#else
 | 
			
		||||
	_appname = std::string(getprogname());
 | 
			
		||||
#endif
 | 
			
		||||
	std::transform(_appname.begin(), _appname.end(),_appname.begin(), ::toupper);
 | 
			
		||||
 | 
			
		||||
	loggerCount++;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user