mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
Identify when compiled with openresty LuaJIT
Debian testing ships it
This commit is contained in:
parent
558d749d54
commit
fee6e8e11b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user