summaryrefslogtreecommitdiffstats
path: root/source/libaddns
diff options
context:
space:
mode:
Diffstat (limited to 'source/libaddns')
-rw-r--r--source/libaddns/dnserr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libaddns/dnserr.h b/source/libaddns/dnserr.h
index eee1303c000..013120b6524 100644
--- a/source/libaddns/dnserr.h
+++ b/source/libaddns/dnserr.h
@@ -37,7 +37,7 @@
/* Setup the DNS_ERROR typedef. Technique takes from nt_status.h */
-#if defined(HAVE_IMMEDIATE_STRUCTURES)
+#if defined(HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
typedef struct {uint32 v;} DNS_ERROR;
#define ERROR_DNS(x) ((DNS_ERROR) { x })
#define ERROR_DNS_V(x) ((x).v)