Added support for newer zlib with cleaned up namespace.

master
Jacob Shaffer 2016-11-14 15:49:04 -05:00
parent b6d4a504f2
commit cea3372f4a
1 changed files with 5 additions and 0 deletions

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)