summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-10-07 13:15:11 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-10-07 13:15:11 -0700
commit4c08c2600936efeedb1a33436876ba82a11218e7 (patch)
tree7258b918a8a0db98a947cc6af8583451d8222dc3 /src
parent208ccbc7179b40a570a5943e325dd22740a67577 (diff)
Build fix for ABI version 12
This results in the vmware driver assuming there is only one PCI domain, which I think is true for everywhere this is expected to run anyway. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src')
-rw-r--r--src/vmware.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vmware.c b/src/vmware.c
index 1be0990..55bde22 100644
--- a/src/vmware.c
+++ b/src/vmware.c
@@ -612,9 +612,11 @@ VMWAREPreInit(ScrnInfoPtr pScrn, int flags)
uint32 width = 0, height = 0;
Bool defaultMode;
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
#ifndef BUILD_FOR_420
domainIOBase = pScrn->domainIOBase;
#endif
+#endif
if (flags & PROBE_DETECT) {
return FALSE;