Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 753950 | Differences between
and this patch

Collapse All | Expand All

(-)ucon64-2.2.1-src/src/libdiscmage/ioapi.h (+5 lines)
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));
(-)ucon64-2.2.1-src/src/libdiscmage/unzip.h (-1 / +1 lines)
Lines 49-55 Link Here
49
extern "C" {
49
extern "C" {
50
#endif
50
#endif
51
51
52
// On NetBSD, OF is not defined in zconf.h, which is included by zlib.h.
52
// On NetBSD and Gentoo, OF is not defined in zconf.h, which is included by zlib.h.
53
#ifndef OF
53
#ifndef OF
54
#define OF(x) x
54
#define OF(x) x
55
#endif
55
#endif
(-)ucon64-2.2.1-src/src/misc/ioapi.h (+5 lines)
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));
(-)ucon64-2.2.1-src/src/misc/unzip.h (-1 / +1 lines)
Lines 49-55 Link Here
49
extern "C" {
49
extern "C" {
50
#endif
50
#endif
51
51
52
// On NetBSD, OF is not defined in zconf.h, which is included by zlib.h.
52
// On NetBSD and Gentoo, OF is not defined in zconf.h, which is included by zlib.h.
53
#ifndef OF
53
#ifndef OF
54
#define OF(x) x
54
#define OF(x) x
55
#endif
55
#endif

Return to bug 753950