From 0a6e869d33a4bb36ea6bccb4fe1b49b2c5818975 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Thu, 19 Jul 2012 22:21:31 -0500 Subject: [PATCH] Fix compiling on Gentoo Linux due to use of non-public API. --- unzip/ioapi.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unzip/ioapi.h b/unzip/ioapi.h index 1dba776c..75171b9b 100644 --- a/unzip/ioapi.h +++ b/unzip/ioapi.h @@ -21,6 +21,9 @@ #define ZLIB_FILEFUNC_MODE_EXISTING (4) #define ZLIB_FILEFUNC_MODE_CREATE (8) +#ifndef OF +#define OF(x) x +#endif #ifndef ZCALLBACK