Wireshark mailing list archives

Re: including GPLv3 autoconf macro in Wireshark


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Fri, 18 May 2012 21:16:03 +0200

Hi,

On Fri, May 18, 2012 at 02:55:06PM -0400, Jeff Morriss wrote:
I found out recently that Wireshark needs the Z_BLOCK macro which is 
only in zlib 1.2.0.5 and later.  Rather than checking explicitly for the 
version (which seemed like it would be a pain) I thought I'd check for 
the macro.
[...]
Or do I have to find another solution?

I propose another solution: 

  #ifdef Z_BLOCK
    /* when preset */
  #else
    /* when no */
  #endif
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: