summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-04 19:38:04 +0000
committertron <tron@openttd.org>2005-02-04 19:38:04 +0000
commit2ff6cc3135bb3c786dee33a39b32219dc5051581 (patch)
treec74b24c947fcdcb3b54eb374822b49d55aef5ca1
parentf8f6132006195dbaedd64eafbde5db431a965563 (diff)
downloadopenttd-2ff6cc3135bb3c786dee33a39b32219dc5051581.tar.xz
(svn r1794) Make the dedicated server compile again under MorphOS (tokai)
-rw-r--r--dedicated.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/dedicated.c b/dedicated.c
index 48d330d43..17944b393 100644
--- a/dedicated.c
+++ b/dedicated.c
@@ -32,11 +32,11 @@
# define STDIN 0 /* file descriptor for standard input */
#endif
#ifdef __MORPHOS__
-/* voids the fork, option will be disabled for morphos build anyway, because MorphOS
- * doesn't support forking (could only implemented with lots of code changes here).
- */
-int morphos_dummy_fork() { return -1; }
-#define fork morphos_dummy_fork
+/* Voids the fork, option will be disabled for MorphOS build anyway, because
+ * MorphOS doesn't support forking (could only implemented with lots of code
+ * changes here). */
+int fork(void) { return -1; }
+int dup2(int oldd, int newd) { return -1; }
#endif
// This file handles all dedicated-server in- and outputs