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

@ -251,13 +251,12 @@ else
PLATFORMFILES = gfx2.png
LUACOPT = -I/resources/indexes/include
LUALOPT = -llua
BIN = ../bin/grafx2
COPT = -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config --cflags` -I/resources/indexes/include/SDL $(TTFCOPT) $(LUACOPT) $(JOYCOPT) $(VKEYCOPT) -O$(OPTIM)
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng -lz $(LUALOPT) -lm
CC = gcc
OBJDIR = ../obj/syllable
X11LOPT =
BIN = ../bin/grafx2
COPT = -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config --cflags` -I/resources/indexes/include/SDL $(TTFCOPT) $(LUACOPT) $(JOYCOPT) $(VKEYCOPT) -O$(OPTIM)
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng -lz $(LUALOPT) -lm
CC = gcc
OBJDIR = ../obj/syllable
X11LOPT =
else
# Finally, the default rules that work fine for most unix/gcc systems, linux and freebsd are tested.
# Linux and FreeBSD specific (default rules)

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);

View File

@ -443,6 +443,10 @@ static const T_Help_table helptable_credits[] =
HELP_TEXT ("")
HELP_TEXT (" Luc Schrijvers (Begasus)")
HELP_TEXT ("")
HELP_BOLD (" SYLLABLE PORT")
HELP_TEXT ("")
HELP_TEXT (" Syllable Software")
HELP_TEXT ("")
//HELP_TEXT ("0----5----0----5----0X---5----0----5----0--X")
HELP_BOLD (" HAIKU OS AND BEOS PORT")
HELP_TEXT ("")