summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ast_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c
index 128538f..1f85816 100644
--- a/src/ast_driver.c
+++ b/src/ast_driver.c
@@ -498,7 +498,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
(pScrn->chipset != NULL) ? pScrn->chipset : "Unknown ast");
/* Resource Allocation */
-#if ABI_VIDEODRV_VERSION < 12
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
pAST->IODBase = pScrn->domainIOBase;
#else
pAST->IODBase = 0;
@@ -507,7 +507,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
* the vgaHW module to use our relocated i/o ports.
*/
-#if ABI_VIDEODRV_VERSION < 12
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
VGAHWPTR(pScrn)->PIOOffset = /* ... */
#endif
pAST->PIOOffset =