summaryrefslogtreecommitdiff
path: root/games-emulation/zsnes/files/zsnes-2.0.9-gentoo-zlib.patch
blob: a5b5f584e1774891abea2a48254595fef30530cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Gentoo-specific workaround due to https://bugs.gentoo.org/383179
--- a/zip/zunzip.h
+++ b/zip/zunzip.h
@@ -48,4 +48,8 @@
 #include <zlib.h>
 
+#ifndef OF
+#define OF _Z_OF
+#endif
+
 #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
 /* like the STRICT of WIN32, we define a pointer that cannot be converted