Build fix for ABI version 12
authorJeremy Huddleston <jeremyhu@apple.com>
Fri, 7 Oct 2011 20:15:11 +0000 (13:15 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Fri, 7 Oct 2011 20:15:11 +0000 (13:15 -0700)
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>
src/vmware.c

index 1be0990..55bde22 100644 (file)
@@ -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;