diff options
Diffstat (limited to 'third_party/zlib/contrib/minizip/ioapi.c')
-rw-r--r-- | third_party/zlib/contrib/minizip/ioapi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/third_party/zlib/contrib/minizip/ioapi.c b/third_party/zlib/contrib/minizip/ioapi.c index 3916d04..3aad38a 100644 --- a/third_party/zlib/contrib/minizip/ioapi.c +++ b/third_party/zlib/contrib/minizip/ioapi.c @@ -10,12 +10,13 @@ #include <stdlib.h> #include <string.h> -/* NOTE(erikkay): this modification was needed to avoid picking up the system - version of zlib.h on the Mac */ +#if defined(USE_SYSTEM_ZLIB) +#include <zlib.h> +#else #include "third_party/zlib/zlib.h" -#include "ioapi.h" - +#endif +#include "ioapi.h" /* I've found an old Unix (a SunOS 4.1.3_U1) without all SEEK_* defined.... */ |