summaryrefslogtreecommitdiff
path: root/emulators/snes9x/patches/patch-ai
blob: dc309f75eb01278f8647f24db51077beb53a1122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ai,v 1.1 2001/03/13 13:46:57 wiz Exp $

--- unzip/unzip.h.orig	Wed Aug 25 07:52:56 1999
+++ unzip/unzip.h
@@ -49,6 +49,15 @@
 #include "zlib.h"
 #endif
 
+/* removed in NetBSD around 2001/01/18 */
+#ifndef OF /* function prototypes */
+#  ifdef STDC
+#    define OF(args)  args
+#  else
+#    define OF(args)  ()
+#  endif
+#endif
+
 #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
 /* like the STRICT of WIN32, we define a pointer that cannot be converted
     from (void*) without cast */