]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix up Solaris compilation - noted by Marcus Goller
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 19 Jun 2008 12:12:27 +0000 (12:12 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 19 Jun 2008 12:12:27 +0000 (12:12 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1207 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/qtype.hh

index 663adec035ab013072373f4de4f5eeb2092aed3c..82fc1908abb1e868a36d8b665d7f750d03d4d3b3 100644 (file)
@@ -71,7 +71,8 @@ public:
   int getCode() const; //!< Get the integer representation of this type
 
   static int chartocode(const char *p); //!< convert a character string to a code
-  
+// more solaris fun
+#undef DS   
   enum typeenum {A=1,NS=2,CNAME=5,SOA=6, MR=9, PTR=12,HINFO=13,MX=15,TXT=16,RP=17,AFSDB=18,KEY=25,AAAA=28,LOC=29,SRV=33,NAPTR=35, KX=36, 
                 CERT=37,OPT=41, DS=43, SSHDP=44, IPSECKEY=45, RRSIG=46, NSEC=47, DNSKEY=48, DHCID=49, 
                 SPF=99, AXFR=252, IXFR=251, ANY=255, URL=256, MBOXFW=257, CURL=258, ADDR=259} types;