summaryrefslogtreecommitdiff
path: root/driver/xf86-video-ati/src
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-12-03 17:35:03 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-12-03 17:35:03 +0000
commit4883e7a132eaf17cf31a3e605e3c22f174b36a62 (patch)
treef9c3e264eb468087719ad19d90c7270beaba68aa /driver/xf86-video-ati/src
parent68426e7f6813ac4a4c907b6d3f083e0cbf0ae132 (diff)
don't use fbdev on non-linux systems
Diffstat (limited to 'driver/xf86-video-ati/src')
-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))