[PATCH 1/3] xgi: Compile fix: guard XF86_VERSION_CURRENT with ifdef
Gaetan Nadon
memsize at videotron.ca
Fri Jun 25 11:51:50 PDT 2010
On Fri, 2010-06-25 at 14:04 -0400, Chris Ball wrote:
> ---
> 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"
The 3 patches compile clean on AMD64
Tested-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100625/4784e648/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100625/4784e648/attachment.pgp>
More information about the xorg-devel
mailing list