resolve: Silence build warning, when systemd is built without libidn
HAVE_IDN is not defined when systemd is build without it
This commit is contained in:
parent
e94968ba72
commit
fa9e9f72b9
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue