From fee6e8e11b37f940ba674d53790f36a349c1a343 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 5 Jun 2024 22:43:06 +0200 Subject: [PATCH] Identify when compiled with openresty LuaJIT Debian testing ships it --- src/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7f078d9b2..7474ae84c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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