summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-11-17 15:50:02 -0500
committerAdam Jackson <ajax@redhat.com>2011-11-17 15:50:02 -0500
commit967f6f20670baa33506c3c1b107260a4f909f3d6 (patch)
tree10509cdd4879a9225906da2b21b5acf1eb1ee6d1
parent6b195cc0273650d01fc20c26433b929e9683aa5f (diff)
Check ABI major not encoded ABI
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/apm_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apm_driver.c b/src/apm_driver.c
index f77bb2b..8d6f486 100644
--- a/src/apm_driver.c
+++ b/src/apm_driver.c
@@ -418,7 +418,7 @@ ApmPreInit(ScrnInfoPtr pScrn, int flags)
hwp = VGAHWPTR(pScrn);
vgaHWGetIOBase(hwp);
-#if ABI_VIDEODRV_VERSION < 12
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
#define PIOOFFSET hwp->PIOOffset
#else
/* FIXME reintroduce domain support */