Files
2016-11-18 22:39:22 +01:00

22 lines
405 B
Plaintext

$NetBSD: patch-aa,v 1.3 2016/04/21 11:31:22 jperkin Exp $
Add OF() compat macro.
--- src/includes/unzip.h.orig 2003-03-30 14:39:27.000000000 +0100
+++ src/includes/unzip.h
@@ -49,6 +49,14 @@
#ifndef _unz_H
#define _unz_H
+#ifndef OF /* function prototypes */
+# ifdef STDC
+# define OF(args) args
+# else
+# define OF(args) ()
+# endif
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif