summaryrefslogtreecommitdiffstats
path: root/third_party/zlib/contrib/minizip/unzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/zlib/contrib/minizip/unzip.c')
-rw-r--r--third_party/zlib/contrib/minizip/unzip.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/zlib/contrib/minizip/unzip.c b/third_party/zlib/contrib/minizip/unzip.c
index 72d88f2..6f95973 100644
--- a/third_party/zlib/contrib/minizip/unzip.c
+++ b/third_party/zlib/contrib/minizip/unzip.c
@@ -38,9 +38,11 @@ woven in by Terry Thorsen 1/2003.
#include <stdio.h>
#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"
+#endif
#include "unzip.h"
#ifdef STDC