aboutsummaryrefslogtreecommitdiff
path: root/games/mythserver/files/patch-common::platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/mythserver/files/patch-common::platform.h')
-rw-r--r--games/mythserver/files/patch-common::platform.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/games/mythserver/files/patch-common::platform.h b/games/mythserver/files/patch-common::platform.h
new file mode 100644
index 000000000000..97e107ec8d38
--- /dev/null
+++ b/games/mythserver/files/patch-common::platform.h
@@ -0,0 +1,25 @@
+--- common/platform.h.orig Sat Feb 9 14:51:05 2002
++++ common/platform.h Sat Feb 9 14:53:43 2002
+@@ -8,8 +8,14 @@
+ macintosh
+ windows
+ playstation
++freebsd
+ */
+
++#if defined(__FreeBSD__)
++ #define intel // what about Alpha version?
++ #define freebsd
++#endif
++
+ #if defined(__MWERKS__) // metrowerks
+ #if defined(__INTEL__) // intel
+ #define intel
+@@ -64,6 +70,7 @@
+ #ifdef windows
+ #elif defined(macintosh)
+ #elif defined(linux)
++#elif defined(freebsd)
+ #else
+ #error "Unknown target operating system"
+ #endif