Commit 269651e4 authored by Mike Gabriel's avatar Mike Gabriel

Xserver/fb/fboverlay.c: Define -DMITSHM at build as it is used in fboverlay.c.

Fixes ArcticaProject/nx-libs#237.
parent dbfd7645
...@@ -6,6 +6,9 @@ NULL = ...@@ -6,6 +6,9 @@ NULL =
FB_DEFINES=-DFBNOPIXADDR -DFBNO24BIT FB_DEFINES=-DFBNOPIXADDR -DFBNO24BIT
#endif #endif
#if HasShm
SHM_DEFINES = ShmDefines
#endif
#if BuildRender #if BuildRender
RENDERSRC = fbcompose.c RENDERSRC = fbcompose.c
...@@ -116,6 +119,8 @@ MakeSubdirs($(SUBDIRS)) ...@@ -116,6 +119,8 @@ MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS))
#endif #endif
SpecialCObjectRule(fboverlay,$(ICONFIGFILES),$(SHM_DEFINES))
#ifdef LinkDirectory #ifdef LinkDirectory
LinkSourceFile(fb24_32.c,LinkDirectory) LinkSourceFile(fb24_32.c,LinkDirectory)
LinkSourceFile(fballpriv.c,LinkDirectory) LinkSourceFile(fballpriv.c,LinkDirectory)
......
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
#include "fb.h" #include "fb.h"
#include "fboverlay.h" #include "fboverlay.h"
#ifdef MITSHM
#include "shmint.h"
#endif
int fbOverlayGeneration; int fbOverlayGeneration;
int fbOverlayScreenPrivateIndex = -1; int fbOverlayScreenPrivateIndex = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment