Skip to content

Commit cea3372

Browse files
author
Jacob Shaffer
committed
Added support for newer zlib with cleaned up namespace.
1 parent b6d4a50 commit cea3372

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sources/unzip/ioapi.h

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
#ifndef _ZLIBIOAPI_H
1010
#define _ZLIBIOAPI_H
1111

12+
/* Gentoo removed OF from their copy of zconf.h (https://bugs.gentoo.org/show_bug.cgi?id=383179) */
13+
/* but our copy of minizip needs it. */
14+
#ifndef OF
15+
#define OF(args) args
16+
#endif
1217

1318
#define ZLIB_FILEFUNC_SEEK_CUR (1)
1419
#define ZLIB_FILEFUNC_SEEK_END (2)

0 commit comments

Comments
 (0)