# HG changeset patch # User tron # Date 1107545884 0 # Node ID 862926d5649736e93cd37de5f13d5d92d62f7ab6 # Parent 93edd9c4e1b62977b7183ebc25d1bbf2a8fd8f4a (svn r1794) Make the dedicated server compile again under MorphOS (tokai) diff -r 93edd9c4e1b6 -r 862926d56497 dedicated.c --- a/dedicated.c Fri Feb 04 17:57:07 2005 +0000 +++ b/dedicated.c Fri Feb 04 19:38:04 2005 +0000 @@ -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