diff options
author | truelight <truelight@openttd.org> | 2005-08-06 14:58:06 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-08-06 14:58:06 +0000 |
commit | 4f15ada6cdd2b322f8f2b7a0ad41be7c2cda1192 (patch) | |
tree | 99e61820f44e2ac22558f47fcb7e147d9d0218bd | |
parent | eb826dfb66deedcc73932d4afec01f94b2725d3a (diff) | |
download | openttd-4f15ada6cdd2b322f8f2b7a0ad41be7c2cda1192.tar.xz |
(svn r2814) -Fix: made MorphOS to compile again
-rw-r--r-- | openttd.c | 4 | ||||
-rw-r--r-- | thread.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -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(); @@ -6,7 +6,7 @@ #if defined(__AMIGA__) || defined(__MORPHOS__) Thread* OTTDCreateThread(ThreadFunc function, void* arg) { return NULL; } -void* OTTDJoinThread(Thread*) { return NULL; } +void* OTTDJoinThread(Thread* t) { return NULL; } #elif defined(__OS2__) |