diff options
author | Chris Ball <cjb@laptop.org> | 2010-06-25 13:21:25 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-06-26 20:52:42 -0400 |
commit | edc7a40ed2aaedc03244b84ae0560a41fc7fa10c (patch) | |
tree | 7597ec28fe2e610a32d9430f96b52c90f491050e | |
parent | f2b97df11d9cf95221860be07ccfbd32ef0a2c32 (diff) |
xgi: Compile fix: guard XF86_VERSION_CURRENT with ifdef
-rwxr-xr-x | src/xgi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -198,9 +198,11 @@ extern BOOL g_bRunTimeDebug; #define XGINEWDRI #undef XGINEWDRI2 +#ifdef XF86_VERSION_CURRENT #if XF86_VERSION_CURRENT >= XF86_VERSION_NUMERIC(4,4,99,99,0) /* Adapt this when the time has come */ #define XGINEWDRI2 #endif +#endif /* XF86_VERSION_CURRENT */ #include "xf86drm.h" #include "sarea.h" |