blob: a84dcab8c37617eec8f148b17e98158cf6565491 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From f7d821a6837b4cc9defa02f271256796394fd8c3 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Wed, 21 Sep 2011 14:37:31 +0200
Subject: [PATCH] Allow compilation with zlib-1.2.5.1-r1
---
quazip/ioapi.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/quazip/ioapi.h b/quazip/ioapi.h
index 716dd4b..a4ac8d7 100644
--- a/quazip/ioapi.h
+++ b/quazip/ioapi.h
@@ -37,6 +37,10 @@
extern "C" {
#endif
+#ifndef OF
+# define OF(x) x
+#endif
+
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf file, int mode));
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
--
1.7.6.1
|