rainbow: linux compile

git-svn-id: svn://ultimatepp.org/upp/trunk@3608 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
kohait 2011-07-05 07:45:58 +00:00
parent 0c95fb07d9
commit e2e255105b
5 changed files with 11 additions and 3 deletions

View file

@ -110,7 +110,7 @@ void FBInit(const String& fbdevice)
Ctrl::SetFramebufferSize(Size(vinfo.xres, vinfo.yres));
}
void FBDeInit();
void FBDeInit()
{
munmap(fbp, screensize);
close(fbfd);

View file

@ -3,6 +3,10 @@
#include <Framebuffer/Framebuffer.h>
#ifdef PLATFORM_POSIX
#include <CtrlCore/stdids.h>
#endif
//make keysym known to K_ enum in CtrlCore.h
#include "SDLWrap.h"

View file

@ -6,7 +6,7 @@ uses
PdfDraw,
plugin\jpg;
uses(WINFB) Framebuffer;
uses(WINFB | SDLFB) Framebuffer;
uses(SKELETON) Skeleton;
@ -14,6 +14,8 @@ uses(WINFB) WinFb;
uses(WINALT) WinAlt;
uses(SDLFB) SDLFb;
file
UWord.cpp,
UWord.iml;
@ -21,5 +23,6 @@ file
mainconfig
"" = "GUI WINFB",
"" = "GUI WINALT",
"" = "GUI SKELETON";
"" = "GUI SKELETON",
"" = "GUI SDLFB";

View file

@ -8,4 +8,5 @@
#include "Skeleton/init"
#include "WinFb/init"
#include "WinAlt/init"
#include "SDLFb/init"
#endif