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:
Adrien Destugues
2008-12-27 11:43:03 +00:00
parent 4c48c74a96
commit e2fe9dcd79
9 changed files with 116 additions and 7 deletions

4
init.c
View File

@@ -69,7 +69,7 @@ void Ajouter_lecteur(char Lettre, byte Type, char *Chemin)
// Rechercher la liste et le type des lecteurs de la machine
void Rechercher_drives(void)
{
#if defined(__amigaos4__)
#if defined(__amigaos4__) || defined(__AROS__)
// No icons by default.
// It's possible to add some here.
@@ -124,7 +124,7 @@ void Rechercher_drives(void)
#if defined(__BEOS__) || defined(__HAIKU__)
char * Home = getenv("$HOME");
#else
char * Home = getenv("HOME");
char * Home = getenv("HOME");
#endif
Ajouter_lecteur('/', LECTEUR_HDD, "/");
Ajouter_lecteur('~', LECTEUR_HDD, Home ? Home : "");