summaryrefslogtreecommitdiff
blob: 23a869bd8d483900956a39bfb9a6007444352a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/src/dns/dns_str_resflags.c	2016-05-15 18:20:14.000000000 +0300
+++ b/src/dns/dns_str_resflags.c	2019-05-03 17:29:16.000000000 +0300
@@ -52,18 +52,28 @@
 static const LONG_NAME_MASK resflag_table[] = {
     "RES_INIT", RES_INIT,
     "RES_DEBUG", RES_DEBUG,
+#ifdef RES_AAONLY
     "RES_AAONLY", RES_AAONLY,
+#endif
     "RES_USEVC", RES_USEVC,
+#ifdef RES_PRIMARY
     "RES_PRIMARY", RES_PRIMARY,
+#endif
     "RES_IGNTC", RES_IGNTC,
     "RES_RECURSE", RES_RECURSE,
     "RES_DEFNAMES", RES_DEFNAMES,
     "RES_STAYOPEN", RES_STAYOPEN,
     "RES_DNSRCH", RES_DNSRCH,
+#ifdef RES_INSECURE1
     "RES_INSECURE1", RES_INSECURE1,
+#endif
+#ifdef RES_INSECURE2
     "RES_INSECURE2", RES_INSECURE2,
+#endif
     "RES_NOALIASES", RES_NOALIASES,
+#ifdef RES_USE_INET6
     "RES_USE_INET6", RES_USE_INET6,
+#endif
 #ifdef RES_ROTATE
     "RES_ROTATE", RES_ROTATE,
 #endif