mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-22 22:41:50 +02: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 a new issue