summaryrefslogtreecommitdiff
path: root/src/amd.h
diff options
context:
space:
mode:
authorZephaniah E. Hull <warp@agamemnon.b5>2006-08-03 10:41:41 -0400
committerZephaniah E. Hull <warp@agamemnon.b5>2006-08-03 10:41:41 -0400
commitd67ec33ef47086469446f0bd692ec15581124424 (patch)
tree2d93b63070589762a7f3ef32670f59d6fdb4b074 /src/amd.h
parent3718e9e2639d0f6313c3ec9ab32d277d2224f8cf (diff)
Make EXA support on EXA_VERSION_MAJOR >= 2.
Catch the two places where we tried to use EXA stuff when it wasn't available.
Diffstat (limited to 'src/amd.h')
-rw-r--r--src/amd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd.h b/src/amd.h
index be51d83..81cea64 100644
--- a/src/amd.h
+++ b/src/amd.h
@@ -28,9 +28,13 @@
#ifndef _AMD_GEODE_H_
#define _AMD_GEODE_H_
+#if (EXA_VERSION_MAJOR >= 2)
#ifndef XF86EXA
#define XF86EXA 1
#endif
+#else
+#undef XF86EXA
+#endif
#include "xaa.h"
#include "exa.h"