(svn r980) Fixed issues where MorphOS would get problems if AmigaOS would get a port, since MorphOS also have the flag __AMIGA__ defined (Tokai)

This commit is contained in:
bjarni
2004-12-08 16:27:54 +00:00
parent 5b0743d66b
commit 1f31bee5e4
5 changed files with 11 additions and 3 deletions

View File

@@ -198,6 +198,8 @@ static void AskAbandonGameWndProc(Window *w, WindowEvent *e) {
SetDParam(0, STR_OSNAME_BEOS);
#elif defined(__MORPHOS__)
SetDParam(0, STR_OSNAME_MORPHOS);
#elif defined(__AMIGA__) /* note: __AMIGA__ is defined under MorphOS too, so it must be after __MORPHOS__. */
SET_DPARAM16(0, STR_OSNAME_AMIGAOS);
#else
SetDParam(0, STR_0134_UNIX);
#endif