mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r1794) Make the dedicated server compile again under MorphOS (tokai)
This commit is contained in:
parent
f8f6132006
commit
2ff6cc3135
10
dedicated.c
10
dedicated.c
@ -32,11 +32,11 @@
|
|||||||
# define STDIN 0 /* file descriptor for standard input */
|
# define STDIN 0 /* file descriptor for standard input */
|
||||||
#endif
|
#endif
|
||||||
#ifdef __MORPHOS__
|
#ifdef __MORPHOS__
|
||||||
/* voids the fork, option will be disabled for morphos build anyway, because MorphOS
|
/* Voids the fork, option will be disabled for MorphOS build anyway, because
|
||||||
* doesn't support forking (could only implemented with lots of code changes here).
|
* MorphOS doesn't support forking (could only implemented with lots of code
|
||||||
*/
|
* changes here). */
|
||||||
int morphos_dummy_fork() { return -1; }
|
int fork(void) { return -1; }
|
||||||
#define fork morphos_dummy_fork
|
int dup2(int oldd, int newd) { return -1; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// This file handles all dedicated-server in- and outputs
|
// This file handles all dedicated-server in- and outputs
|
||||||
|
Loading…
Reference in New Issue
Block a user