Permalink
Browse files

fix lua 5.2 version check in luabackend

  • Loading branch information...
1 parent b95852c commit 88d9e99880a61bb22486c14e4860e0f183e26b53 @Habbie Habbie committed Nov 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/luabackend/reload.cc
@@ -62,7 +62,7 @@ void LUABackend::reload() {
logging = ::arg().mustDo("query-logging") || mustDo("logging-query");
-#if LUA_VERSION_MAJOR == 5 && LUA_VERSION_MINOR > 1
+#if LUA_VERSION_NUM >= 502
lua = luaL_newstate();
#else
lua = lua_open();

0 comments on commit 88d9e99

Please sign in to comment.