From: Etienne Dechamps Date: Sat, 14 Mar 2015 16:17:32 +0000 (+0000) Subject: Fix HAVE_DECL_RES_INIT conditionals. X-Git-Tag: release-1.1pre12~188^2 X-Git-Url: https://www.tinc-vpn.org/git/browse?a=commitdiff_plain;h=43b41e9095e6261c53da1ae46117d018296c3b68;hp=43b41e9095e6261c53da1ae46117d018296c3b68;p=tinc Fix HAVE_DECL_RES_INIT conditionals. HAVE_DECL_RES_INIT is generated using AC_CHECK_DECLS. tinc checks this symbol using #ifdef, which is wrong because (according to autoconf docs) the symbol is always defined, it's just set to zero if the check failed. This broke the Windows build starting from 0b310bf406dbe58afe37fa31156b9ea47599d7be, because it introduced this conditional in code that's not excluded from the Windows build. ---