summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/xf86-video-r128/src/r128_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-r128/src/r128_driver.c b/driver/xf86-video-r128/src/r128_driver.c
index 68a956b30..33ae0c3d3 100644
--- a/driver/xf86-video-r128/src/r128_driver.c
+++ b/driver/xf86-video-r128/src/r128_driver.c
@@ -2025,7 +2025,7 @@ Bool R128PreInit(ScrnInfoPtr pScrn, int flags)
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "ShowCache enabled\n");
}
-#ifdef __powerpc__
+#if defined(__powerpc__) && defined(__linux__)
if (xf86ReturnOptValBool(info->Options, OPTION_FBDEV, TRUE))
#else
if (xf86ReturnOptValBool(info->Options, OPTION_FBDEV, FALSE))