summaryrefslogtreecommitdiff
path: root/emulators/x48/files/patch-src+global.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/x48/files/patch-src+global.h')
-rw-r--r--emulators/x48/files/patch-src+global.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/emulators/x48/files/patch-src+global.h b/emulators/x48/files/patch-src+global.h
new file mode 100644
index 000000000000..cfa5b53e5848
--- /dev/null
+++ b/emulators/x48/files/patch-src+global.h
@@ -0,0 +1,25 @@
+--- src/global.h.orig Tue Sep 7 22:41:45 1999
++++ src/global.h Mon Nov 22 17:03:53 2004
+@@ -79,6 +79,14 @@
+
+ #else /* Not Linux */
+
++#if defined(__FreeBSD__)
++
++#ifndef FREEBSD
++#define FREEBSD 1
++#endif
++
++#else /* Not FreeBSD */
++
+ #if defined(sun) && defined(unix)
+
+ #if defined(__svr4__) || defined(SVR4) || defined(SYSV)
+@@ -106,6 +114,7 @@
+ #endif /* Not HP-UX */
+ #endif /* Not Solaris */
+ #endif /* Sun && Unix */
++#endif /* Not FreeBSD */
+ #endif /* Not Linux */
+
+ #ifdef SYSV