From: Torstein Husebø Date: Fri, 29 Jan 2016 14:41:24 +0000 (+0100) Subject: resolve: Silence build warning, when systemd is built without libidn X-Git-Tag: v231~692^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa9e9f72b954fa42bbab8c4cc3c26d992e9615ef;p=platform%2Fupstream%2Fsystemd.git resolve: Silence build warning, when systemd is built without libidn HAVE_IDN is not defined when systemd is build without it --- diff --git a/src/resolve/test-dnssec-complex.c b/src/resolve/test-dnssec-complex.c index caac251..cde9741 100644 --- a/src/resolve/test-dnssec-complex.c +++ b/src/resolve/test-dnssec-complex.c @@ -220,7 +220,7 @@ int main(int argc, char* argv[]) { test_hostname_lookup(bus, "poettering.de", AF_INET, NULL); test_hostname_lookup(bus, "poettering.de", AF_INET6, NULL); -#if HAVE_LIBIDN +#ifdef HAVE_LIBIDN /* Unsigned A with IDNA conversion necessary */ test_hostname_lookup(bus, "pöttering.de", AF_UNSPEC, NULL); test_hostname_lookup(bus, "pöttering.de", AF_INET, NULL);