Fixes for compiling under freebsd

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@562 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-01-28 22:12:28 +00:00
parent a15de98314
commit 91d4dc20b9
10 changed files with 18 additions and 14 deletions

4
aide.c
View File

@@ -26,7 +26,7 @@
#if defined(__WIN32__)
#include <windows.h>
#elif defined(__macosx__)
#elif defined(__macosx__) || defined(__FreeBSD__)
#include <sys/param.h>
#include <sys/mount.h>
#elif defined (__linux__)
@@ -417,7 +417,7 @@ void Bouton_Stats(void)
GetDiskFreeSpaceEx(Principal_Repertoire_courant,&tailleU,NULL,NULL);
Taille = tailleU.QuadPart;
}
#elif defined(__linux__) || (__macosx__)
#elif defined(__linux__) || defined(__macosx__) || defined(__FreeBSD)
// Note: under MacOSX, both macros are defined anyway.
{
struct statfs Informations_Disque;