Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] including GPLv3 autoconf macro in Wireshark

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Sat, 19 May 2012 15:28:49 +0200
On Fri, May 18, 2012 at 05:14:40PM -0400, Jeff Morriss wrote:
> Jakub Zawadzki wrote:
> > On Fri, May 18, 2012 at 02:55:06PM -0400, Jeff Morriss wrote:
> >> Or do I have to find another solution?
> > 
> > I propose another solution: 
> > 
> >   #ifdef Z_BLOCK
> >     /* when preset */
> >   #else
> >     /* when no */
> >   #endif
> 
> That would obviously be great--but is it reasonably possible?  I assumed 
> this was needed for our fancy new zipped-file processing.

AFAIK Z_BLOCK is only needed for "faster" seeking in gzipped files.
If user don't have it, we can fallback to Z_NO_FLUSH

Commited fix in r42714.