From: Christian Schmitt Date: Sun, 3 Mar 2013 22:35:43 +0000 (+0100) Subject: Add a missing define for minizip, needed on some installations of zlib X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e6934abe5fd93ed953aae011a4286f97474117f;p=simgear.git Add a missing define for minizip, needed on some installations of zlib --- diff --git a/simgear/package/ioapi.h b/simgear/package/ioapi.h index 1dba776c..cbc0e33e 100755 --- a/simgear/package/ioapi.h +++ b/simgear/package/ioapi.h @@ -9,6 +9,11 @@ #ifndef _ZLIBIOAPI_H #define _ZLIBIOAPI_H +// Needed for some zlib installations: +#ifndef OF + #define OF(x) x +#endif + #define ZLIB_FILEFUNC_SEEK_CUR (1) #define ZLIB_FILEFUNC_SEEK_END (2)