Added support for newer zlib with cleaned up namespace.

This commit is contained in:
Jacob Shaffer 2016-11-14 15:49:04 -05:00
parent b6d4a504f2
commit cea3372f4a

View File

@ -9,6 +9,11 @@
#ifndef _ZLIBIOAPI_H
#define _ZLIBIOAPI_H
/* Gentoo removed OF from their copy of zconf.h (https://bugs.gentoo.org/show_bug.cgi?id=383179) */
/* but our copy of minizip needs it. */
#ifndef OF
#define OF(args) args
#endif
#define ZLIB_FILEFUNC_SEEK_CUR (1)
#define ZLIB_FILEFUNC_SEEK_END (2)