From 0e6934abe5fd93ed953aae011a4286f97474117f Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Sun, 3 Mar 2013 23:35:43 +0100 Subject: [PATCH] Add a missing define for minizip, needed on some installations of zlib --- simgear/package/ioapi.h | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.5