Lines 35-40
Link Here
|
35 |
extern "C" { |
35 |
extern "C" { |
36 |
#endif |
36 |
#endif |
37 |
|
37 |
|
|
|
38 |
// On NetBSD and Gentoo, OF is not defined in zconf.h, which is included by zlib.h. |
39 |
#ifndef OF |
40 |
#define OF(x) x |
41 |
#endif |
42 |
|
38 |
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode)); |
43 |
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode)); |
39 |
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); |
44 |
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); |
40 |
typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); |
45 |
typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); |