Added some pathes for AROS operating system. We need someone to test it out now :)
Also, there is a realpath implementation there wich may be useful for BeOS too git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@421 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
6
setup.c
6
setup.c
@@ -49,7 +49,7 @@ int Create_ConfigDirectory(char * Config_Dir)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(__macosx__) || defined(__amigaos4__)
|
||||
#if defined(__macosx__) || defined(__amigaos4__) || defined(__AROS__)
|
||||
#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__)
|
||||
#elif defined(__amigaos4__) || defined(__AROS__)
|
||||
strcpy(Program_Dir,"PROGDIR:");
|
||||
|
||||
// Others: The part of argv[0] before the executable name.
|
||||
@@ -113,7 +113,7 @@ void Set_Config_Directory(const char * Program_Dir, char * Config_Dir)
|
||||
strcpy(Config_Dir,Program_Dir);
|
||||
strcat(Config_Dir,"Contents/Resources/");
|
||||
// AmigaOS4
|
||||
#elif defined(__amigaos4__)
|
||||
#elif defined(__amigaos4__) || defined(__AROS__)
|
||||
strcpy(Config_Dir,"PROGDIR:");
|
||||
#else
|
||||
char FileName[TAILLE_CHEMIN_FICHIER];
|
||||
|
||||
Reference in New Issue
Block a user