dedicated.c
changeset 1290 7fbc2fdfa203
parent 1114 74e602e41692
child 1299 39c06aba09aa
equal deleted inserted replaced
1289:2514debc704e 1290:7fbc2fdfa203
    30 #	include <unistd.h>
    30 #	include <unistd.h>
    31 #	include <signal.h>
    31 #	include <signal.h>
    32 #	define STDIN 0  /* file descriptor for standard input */
    32 #	define STDIN 0  /* file descriptor for standard input */
    33 #endif
    33 #endif
    34 #ifdef __MORPHOS__
    34 #ifdef __MORPHOS__
    35 /*  voids the fork, option will be disabled for morphos build anyway, because MorphOS
    35 /* Voids the fork, option will be disabled for MorphOS build anyway, because
    36  *  doesn't support forking (could only implemented with lots of code changes here).
    36  * MorphOS doesn't support forking (could only implemented with lots of code
    37  */
    37  * changes here). */
    38 int morphos_dummy_fork() { return -1; }
    38 int fork(void) { return -1; }
    39 #define fork morphos_dummy_fork
    39 int dup2(int oldd, int newd) { return -1; }
    40 #endif
    40 #endif
    41 
    41 
    42 // This file handles all dedicated-server in- and outputs
    42 // This file handles all dedicated-server in- and outputs
    43 
    43 
    44 static void *_dedicated_video_mem;
    44 static void *_dedicated_video_mem;