diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-07 13:15:11 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-07 13:15:11 -0700 |
commit | 4c08c2600936efeedb1a33436876ba82a11218e7 (patch) | |
tree | 7258b918a8a0db98a947cc6af8583451d8222dc3 /src | |
parent | 208ccbc7179b40a570a5943e325dd22740a67577 (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.c | 2 |
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; |