pkgsrc/emulators/Cygne-SDL/patches/patch-ad
2013-04-13 19:07:21 +00:00

17 lines
419 B
Text

$NetBSD: patch-ad,v 1.3 2013/04/13 19:07:21 dholland Exp $
- Fix build.
--- src/zlib/unzip.h.orig 2002-03-21 19:42:46.000000000 +0100
+++ src/zlib/unzip.h
@@ -49,6 +49,10 @@ extern "C" {
#include "zlib.h"
#endif
+#ifndef OF
+#define OF(a) a
+#endif
+
#if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
/* like the STRICT of WIN32, we define a pointer that cannot be converted
from (void*) without cast */