mirror of
https://github.com/X11Libre/xf86-video-fbdev.git
synced 2026-03-24 01:24:49 +00:00
Use #ifdef instead of #if to avoid build error
fbdev.c:491:21: error: #if with no expression
#if HAVE_SHADOW_3224
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
committed by
Adam Jackson
parent
e0bce0d017
commit
9af7f81534
@@ -488,7 +488,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
} while (0);
|
||||
|
||||
fPtr->shadow24 = FALSE;
|
||||
#if HAVE_SHADOW_3224
|
||||
#ifdef HAVE_SHADOW_3224
|
||||
/* okay but 24bpp is awful */
|
||||
if (fbbpp == 24) {
|
||||
fPtr->shadow24 = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user