- Fixed a compilation warning under macosx.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@503 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Franck Charlet
2009-01-21 00:26:29 +00:00
parent 0f2d642847
commit 3ff77f068b
3 changed files with 29 additions and 18 deletions

View File

@@ -323,13 +323,18 @@ void Lire_liste_des_lecteurs(void)
// This should be made dynamic because in the multitask world, user can mount new drives,
// connect to network ones, and so on, while Grafx2 is running.
#else
#ifndef __macosx__
#warning "Your platform is missing some specific code here ! please check and correct ! :)"
#endif
for (Indice=0; Indice<Nb_drives; Indice++)
{
// Add the drive's name ("c:\\", "/" etc.) to the list
Ajouter_element_a_la_liste(Drive[Indice].Chemin, 2);
Liste_Nb_repertoires++;
}
#endif
Liste_Nb_elements=Liste_Nb_repertoires+Liste_Nb_fichiers;