Commit 9af7f815 authored by Alan Coopersmith's avatar Alan Coopersmith Committed by Adam Jackson
Browse files

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's avatarAlan Coopersmith <>
Reviewed-by: Adam Jackson's avatarAdam Jackson <>
parent e0bce0d0
......@@ -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;
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