]> granicus.if.org Git - pdns/commitdiff
Update luabackend.hh
authorRvdE <tremere@cainites.net>
Thu, 20 Aug 2015 11:54:47 +0000 (13:54 +0200)
committerRvdE <tremere@cainites.net>
Thu, 20 Aug 2015 11:54:47 +0000 (13:54 +0200)
Make the patch FreeBSD specific

modules/luabackend/luabackend.hh

index f0a43de0c951704b0b6b08f96c0a72b15fb2000f..98901a01b85bf0e19554150ed1aa4efbca1615dd 100644 (file)
@@ -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);