From: bert hubert Date: Sat, 3 Jan 2015 10:30:01 +0000 (+0100) Subject: oops that bit too X-Git-Tag: rec-3.7.0-rc1~67^2~6^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f635ed7b6be2650c705fdb525ef00a8cac5f4f50;p=thirdparty%2Fpdns.git oops that bit too --- diff --git a/pdns/syncres.hh b/pdns/syncres.hh index c1df0d1c60..67b368bf25 100644 --- a/pdns/syncres.hh +++ b/pdns/syncres.hh @@ -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 addrringbuf_t; +#else +typedef boost::circular_buffer addrringbuf_t; +#endif +extern __thread addrringbuf_t* t_servfailremotes, *t_largeanswerremotes, *t_remotes; -extern __thread boost::circular_buffer* t_servfailremotes, *t_largeanswerremotes, *t_remotes; extern __thread boost::circular_buffer >* t_queryring, *t_servfailqueryring; extern __thread NetmaskGroup* t_allowFrom; string doQueueReloadLuaScript(vector::const_iterator begin, vector::const_iterator end);