From: RvdE Date: Thu, 20 Aug 2015 11:54:01 +0000 (+0200) Subject: Update lua_functions.cc X-Git-Tag: dnsdist-1.0.0-alpha1~255^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bccee1c502a1200d8aa42c3b0d17f9351b14a4a;p=pdns Update lua_functions.cc Make the patch FreeBSD specific --- diff --git a/modules/luabackend/lua_functions.cc b/modules/luabackend/lua_functions.cc index a5a4fcd04..17a903b33 100644 --- a/modules/luabackend/lua_functions.cc +++ b/modules/luabackend/lua_functions.cc @@ -238,7 +238,7 @@ bool LUABackend::getValueFromTable(lua_State *lua, uint32_t key, string& value) return ret; } -#ifndef __i386__ +#if !(defined(__i386__) && defined(__FreeBSD__)) bool LUABackend::getValueFromTable(lua_State *lua, const std::string& key, time_t& value) { lua_pushstring(lua, key.c_str()); lua_gettable(lua, -2);