mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 16:39:09 +00:00
(svn r2814) -Fix: made MorphOS to compile again
This commit is contained in:
@@ -302,7 +302,9 @@ static void LoadIntroGame(void)
|
||||
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 @@ int ttd_main(int argc, char* argv[])
|
||||
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();
|
||||
|
Reference in New Issue
Block a user