From 1f5ab13ce35eb9dfab7ea29e5189df9116fc946c Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Tue, 6 Nov 2012 10:14:52 +0000 Subject: [PATCH] lua backend detected older lua versions with a weird #ifdef that could not have worked, I'm assuming older lua's are still broken. git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2854 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- modules/luabackend/reload.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luabackend/reload.cc b/modules/luabackend/reload.cc index 1d6850bf90..0be7347b23 100644 --- a/modules/luabackend/reload.cc +++ b/modules/luabackend/reload.cc @@ -62,7 +62,7 @@ void LUABackend::reload() { logging = ::arg().mustDo("query-logging") || mustDo("logging-query"); -#ifdef LUA_VERSION_MAJOR == 5 && LUA_VERSION_MINOR > 1 +#if LUA_VERSION_MAJOR == 5 && LUA_VERSION_MINOR > 1 lua = luaL_newstate(); #else lua = lua_open(); -- 2.47.3