forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
14 lines
416 B
C++
14 lines
416 B
C++
--- ./lib/src/libcommon.h.orig 2012-01-13 06:21:34.000000000 +0000
|
|
+++ ./lib/src/libcommon.h 2013-10-02 15:13:21.563936478 +0000
|
|
@@ -188,7 +188,11 @@
|
|
}
|
|
|
|
namespace zip {
|
|
+#if ZLIB_VERNUM > 0x1250
|
|
+typedef ResourceWrapper<gzFile_s, gzFile, int, gzclose> gzFile;
|
|
+#else
|
|
typedef ResourceWrapper<void, void*, int, gzclose> gzFile;
|
|
+#endif
|
|
}
|
|
|
|
/* Create a new temporary file. Return file name in file name encoding.
|