mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-03-24 01:24:35 +00:00
xgi: Compile fix: guard XF86_VERSION_CURRENT with ifdef
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user