From: RvdE Date: Thu, 20 Aug 2015 11:54:47 +0000 (+0200) Subject: Update luabackend.hh X-Git-Tag: dnsdist-1.0.0-alpha1~255^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ce58f7a228c7053de03d26ad3b1bcccb792554b;p=pdns Update luabackend.hh Make the patch FreeBSD specific --- diff --git a/modules/luabackend/luabackend.hh b/modules/luabackend/luabackend.hh index f0a43de0c..98901a01b 100644 --- a/modules/luabackend/luabackend.hh +++ b/modules/luabackend/luabackend.hh @@ -155,7 +155,7 @@ private: // FUNCTIONS TO THIS BACKEND bool getValueFromTable(lua_State *lua, const std::string& key, string& value); bool getValueFromTable(lua_State *lua, uint32_t key, string& value); -#ifndef __i386__ +#if !(defined(__i386__) && defined(__FreeBSD__)) bool getValueFromTable(lua_State *lua, const std::string& key, time_t& value); #endif bool getValueFromTable(lua_State *lua, const std::string& key, uint32_t& value);