mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Identify when compiled with openresty LuaJIT
Debian testing ships it
This commit is contained in:
		@@ -427,7 +427,11 @@ static void print_version(std::ostream &os)
 | 
			
		||||
	os << PROJECT_NAME_C " " << g_version_hash
 | 
			
		||||
		<< " (" << porting::getPlatformName() << ")" << std::endl;
 | 
			
		||||
#if USE_LUAJIT
 | 
			
		||||
	os << "Using " << LUAJIT_VERSION << std::endl;
 | 
			
		||||
	os << "Using " << LUAJIT_VERSION
 | 
			
		||||
#ifdef OPENRESTY_LUAJIT
 | 
			
		||||
	<< " (OpenResty)"
 | 
			
		||||
#endif
 | 
			
		||||
	<< std::endl;
 | 
			
		||||
#else
 | 
			
		||||
	os << "Using " << LUA_RELEASE << std::endl;
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user