Patch by Syllable software to complete Syllable support. Thanks!

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1900 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2012-01-15 13:52:31 +00:00
parent 7137e1fc05
commit 46f2ec9475
3 changed files with 12 additions and 9 deletions

View File

@@ -30,7 +30,7 @@
#elif defined(__macosx__) || defined(__FreeBSD__)
#include <sys/param.h>
#include <sys/mount.h>
#elif defined (__linux__)
#elif defined (__linux__) || defined(__SYLLABLE__)
#include <sys/vfs.h>
#elif defined (__HAIKU__)
#include "haiku.h"
@@ -786,7 +786,7 @@ void Button_Stats(void)
GetDiskFreeSpaceEx(Main_current_directory,&tailleU,NULL,NULL);
mem_size = tailleU.QuadPart;
}
#elif defined(__linux__) || defined(__macosx__) || defined(__FreeBSD__)
#elif defined(__linux__) || defined(__macosx__) || defined(__FreeBSD__) || defined(__SYLLABLE__)
{
struct statfs disk_info;
statfs(Main_current_directory,&disk_info);