2013-09-26 17:14:40 +02:00

13 lines
547 B
Plaintext

$NetBSD: patch-ag,v 1.3 2010/02/12 08:35:28 adam Exp $
--- scribus/ioapi.h.orig 2006-01-22 22:42:17.000000000 +0000
+++ scribus/ioapi.h
@@ -43,6 +43,7 @@ for which a new license (GPL+exception)
extern "C" {
#endif
+#define OF(x) x
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, 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));