Fix compilation on Gentoo

For some reason Gentoo renamed zlibs OF() macro to _Z_OF
Our minizip uses OF(), so add a #define for it in case
_Z_OF is defined.

Thanks to salamanderrake for the fix
This commit is contained in:
Daniel Gibson 2013-08-31 20:07:07 +02:00
parent fa231898b0
commit 40ac4d7c5a

View file

@ -24,6 +24,12 @@
#ifndef _ZLIBIOAPI64_H
#define _ZLIBIOAPI64_H
// DG: Gentoo renamed zlibs OF to _Z_OF for some reason..
// as we use OF, just define it as _Z_OF in that case
#ifdef _Z_OF
#define OF _Z_OF
#endif
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
// Linux needs this to support file operation on files larger then 4+GB