]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
oops that bit too
authorbert hubert <bert.hubert@netherlabs.nl>
Sat, 3 Jan 2015 10:30:01 +0000 (11:30 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sat, 3 Jan 2015 10:30:01 +0000 (11:30 +0100)
pdns/syncres.hh

index c1df0d1c60eba71cc6c987a03d26382452ff8d69..67b368bf255c84acb9eb716c2807f44c2c3ce728 100644 (file)
@@ -603,8 +603,13 @@ public:
   string reason; //! Print this to tell the user what went wrong
 };
 
+#if (__GNUC__ == 4 && __GNUC_MINOR__ == 2)
+typedef boost::circular_buffer<SComboAddress> addrringbuf_t;
+#else
+typedef boost::circular_buffer<ComboAddress> addrringbuf_t;
+#endif
+extern __thread addrringbuf_t* t_servfailremotes, *t_largeanswerremotes, *t_remotes;
 
-extern __thread boost::circular_buffer<ComboAddress>* t_servfailremotes, *t_largeanswerremotes, *t_remotes;
 extern __thread boost::circular_buffer<pair<std::string,uint16_t> >* t_queryring, *t_servfailqueryring;
 extern __thread NetmaskGroup* t_allowFrom;
 string doQueueReloadLuaScript(vector<string>::const_iterator begin, vector<string>::const_iterator end);