mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-23 00:11:51 +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
|
os << PROJECT_NAME_C " " << g_version_hash
|
||||||
<< " (" << porting::getPlatformName() << ")" << std::endl;
|
<< " (" << porting::getPlatformName() << ")" << std::endl;
|
||||||
#if USE_LUAJIT
|
#if USE_LUAJIT
|
||||||
os << "Using " << LUAJIT_VERSION << std::endl;
|
os << "Using " << LUAJIT_VERSION
|
||||||
|
#ifdef OPENRESTY_LUAJIT
|
||||||
|
<< " (OpenResty)"
|
||||||
|
#endif
|
||||||
|
<< std::endl;
|
||||||
#else
|
#else
|
||||||
os << "Using " << LUA_RELEASE << std::endl;
|
os << "Using " << LUA_RELEASE << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue