summaryrefslogtreecommitdiff
path: root/emulators/fceu/patches/patch-ac
blob: 293cc093bc804419ac742332bd80ddaca58c15e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.1.1.1 2004/07/19 18:37:15 wiz Exp $

NetBSD's zlib.h does not define OF().

--- src/unzip.h.orig	2004-01-21 21:50:00.000000000 +0100
+++ src/unzip.h
@@ -58,6 +58,9 @@ typedef unzFile__ *unzFile;
 typedef voidp unzFile;
 #endif
 
+#ifndef OF
+#define OF(a)	a
+#endif
 
 #define UNZ_OK                                  (0)
 #define UNZ_END_OF_LIST_OF_FILE (-100)