summaryrefslogtreecommitdiff
path: root/emulators/makeppf/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/makeppf/patches/patch-aa')
-rw-r--r--emulators/makeppf/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/emulators/makeppf/patches/patch-aa b/emulators/makeppf/patches/patch-aa
new file mode 100644
index 00000000000..439ab2b130f
--- /dev/null
+++ b/emulators/makeppf/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/03/18 20:01:28 wiz Exp $
+
+--- makeppf3_linux.c.orig 2001-11-26 16:48:30.000000000 +0000
++++ makeppf3_linux.c
+@@ -20,7 +20,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
+-#if defined(__APPLE__) || defined (MACOSX)
++#if !defined(__linux__)
+
+ //////////////////////////////////////////////////////////////////////
+ // fseeko is already 64 bit for Darwin/MacOS X!
+@@ -40,7 +40,7 @@
+
+ typedef off_t __off64_t;
+
+-#endif /* __APPLE__ || MACOSX */
++#endif /* __linux__ */
+
+ //////////////////////////////////////////////////////////////////////
+ // Macros for little to big Endian conversion.