]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/dns-domain.h
build-sys: use #if Y instead of #ifdef Y everywhere
[thirdparty/systemd.git] / src / shared / dns-domain.h
index fca025def01a785c4dae8c7cd7641c7ad2d894aa..a44d9d48d478307e49d43002f4e7c085d615abea 100644 (file)
@@ -51,7 +51,7 @@ static inline int dns_name_parent(const char **name) {
         return dns_label_unescape(name, NULL, DNS_LABEL_MAX);
 }
 
-#if defined(HAVE_LIBIDN)
+#if HAVE_LIBIDN
 int dns_label_apply_idna(const char *encoded, size_t encoded_size, char *decoded, size_t decoded_max);
 int dns_label_undo_idna(const char *encoded, size_t encoded_size, char *decoded, size_t decoded_max);
 #endif