---
 src/xgi.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/xgi.h b/src/xgi.h
index 72f47d7..fd2c6fa 100755
--- a/src/xgi.h
+++ b/src/xgi.h
@@ -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"
-- 
1.7.0.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to