openttd.c
changeset 2290 3283963c5422
parent 2285 3193cbd1ba88
child 2293 a71c210076be
--- a/openttd.c	Sat Aug 06 07:15:17 2005 +0000
+++ b/openttd.c	Sat Aug 06 14:58:06 2005 +0000
@@ -302,7 +302,9 @@
 	if (_music_driver->is_song_playing()) ResetMusic();
 }
 
+#if defined(UNIX) && !defined(__MORPHOS__)
 extern void DedicatedFork(void);
+#endif
 extern void CheckExternalFiles(void);
 
 int ttd_main(int argc, char* argv[])
@@ -417,7 +419,7 @@
 	gpmi_path_append(&gpmi_path_packages, "gpmi/packages");
 #endif /* GPMI */
 
-#ifdef UNIX
+#if defined(UNIX) && !defined(__MORPHOS__)
 	// We must fork here, or we'll end up without some resources we need (like sockets)
 	if (_dedicated_forks)
 		DedicatedFork();