aboutsummaryrefslogblamecommitdiff
path: root/textproc/stardict3/files/patch-lib__src__libcommon.h
blob: 8f263bfc942c71a4b66b91ca156dd354af11b35d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                                   


                




                                                                


                                                                        
--- ./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.