MorphOS port, and some tweaks to the config tool to make it look a little bit less ugly. We should probably use a better color palette for it anyways.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@456 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-01-04 20:41:22 +00:00
parent 159d623f44
commit 5971f4c9e3
9 changed files with 36 additions and 21 deletions

View File

@@ -49,7 +49,7 @@ int Create_ConfigDirectory(char * Config_Dir)
#endif
}
#if defined(__macosx__) || defined(__amigaos4__) || defined(__AROS__)
#if defined(__macosx__) || defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__)
#define ARG_UNUSED __attribute__((unused))
#else
#define ARG_UNUSED
@@ -70,7 +70,7 @@ void Set_Program_Directory(ARG_UNUSED const char * argv0,char * Program_Dir)
strcat(Program_Dir ,"/");
// AmigaOS4: hard-coded volume name.
#elif defined(__amigaos4__) || defined(__AROS__)
#elif defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__)
strcpy(Program_Dir,"PROGDIR:");
// Others: The part of argv[0] before the executable name.