diff --git a/init.c b/init.c index 42cded51..ff17225e 100644 --- a/init.c +++ b/init.c @@ -34,8 +34,6 @@ #include #if defined(__WIN32__) #include // GetLogicalDrives(), GetDriveType(), DRIVE_* -#else - #include "mountlist.h" // read_file_system_list #endif #include "const.h" @@ -54,7 +52,7 @@ #include "files.h" #include "setup.h" #include "windows.h" - +#include "mountlist.h" // read_file_system_list // Ajouter un lecteur à la liste de lecteurs void Ajouter_lecteur(char Lettre, byte Type, char *Chemin) diff --git a/mountlist.c b/mountlist.c index 3fd8003c..1da472d9 100644 --- a/mountlist.c +++ b/mountlist.c @@ -16,6 +16,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#if(!defined(__WIN32__)) + // We don't use autoconf and all that in grafx2, so let's do the config here ... #define MOUNTED_GETMNTENT1 // --- END GRAFX2 CUSTOM CONFIG --- @@ -887,3 +889,5 @@ read_file_system_list (bool need_fs_type) return NULL; } } + +#endif