diff options
Diffstat (limited to 'src/test/test-dns-domain.c')
-rw-r--r-- | src/test/test-dns-domain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-dns-domain.c b/src/test/test-dns-domain.c index 93b758ec7a..75bc5e4a73 100644 --- a/src/test/test-dns-domain.c +++ b/src/test/test-dns-domain.c @@ -624,7 +624,7 @@ static void test_dns_name_apply_idna_one(const char *s, int expected, const char } static void test_dns_name_apply_idna(void) { -#if defined HAVE_LIBIDN2 || defined HAVE_LIBIDN +#if HAVE_LIBIDN2 || HAVE_LIBIDN const int ret = 1; #else const int ret = 0; @@ -638,7 +638,7 @@ static void test_dns_name_apply_idna(void) { * labels. If registrars follow IDNA2008 we'll just be performing a * useless lookup. */ -#if defined HAVE_LIBIDN +#if HAVE_LIBIDN const int ret2 = 1; #else const int ret2 = 0; |