Skip to content

Commit

Permalink
Added support for newer zlib with cleaned up namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Shaffer committed Nov 14, 2016
1 parent b6d4a50 commit cea3372
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/unzip/ioapi.h
Expand Up @@ -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)
Expand Down

0 comments on commit cea3372

Please sign in to comment.