summaryrefslogtreecommitdiff
path: root/src/aticonfig.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-10 16:58:49 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-10 16:58:49 -0700
commit74cc25c7c54bf2b2f036fd50f66f9071953db24f (patch)
tree6ccc377a953d8c51083b919fc584793f2181f0fc /src/aticonfig.c
parentfe76415fe3935e6ea9e27a79d0cb650e7d93ee97 (diff)
xf86-video-mach64 6.9.7xf86-video-mach64-6.9.7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/aticonfig.c')
-rw-r--r--src/aticonfig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/aticonfig.c b/src/aticonfig.c
index 6995b9a..92ebecb 100644
--- a/src/aticonfig.c
+++ b/src/aticonfig.c
@@ -311,6 +311,10 @@ ATIProcessOptions
(void)memcpy(PublicOption, ATIPublicOptions, ATIPublicOptionSize);
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 25
+# define boolean bool
+#endif
+
# define ProbeSparse PublicOption[ATI_OPTION_PROBE_SPARSE].value.boolean
# define Accel PublicOption[ATI_OPTION_ACCEL].value.boolean
# define BIOSDisplay PrivateOption[ATI_OPTION_BIOS_DISPLAY].value.boolean