diff options
author | Zephaniah E. Hull <warp@agamemnon.b5> | 2006-08-03 10:41:41 -0400 |
---|---|---|
committer | Zephaniah E. Hull <warp@agamemnon.b5> | 2006-08-03 10:41:41 -0400 |
commit | d67ec33ef47086469446f0bd692ec15581124424 (patch) | |
tree | 2d93b63070589762a7f3ef32670f59d6fdb4b074 /src/amd.h | |
parent | 3718e9e2639d0f6313c3ec9ab32d277d2224f8cf (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |