summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/xf86-video-ati/src/r128_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-ati/src/r128_driver.c b/driver/xf86-video-ati/src/r128_driver.c
index 887496166..15aed0d12 100644
--- a/driver/xf86-video-ati/src/r128_driver.c
+++ b/driver/xf86-video-ati/src/r128_driver.c
@@ -2173,7 +2173,7 @@ _X_EXPORT 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))