On Fri, Oct  1, 2010 at 12:16:55 -0400, Trevor Woerner wrote:

> On Fri, Oct 1, 2010 at 11:37 AM, Mark Kettenis <[email protected]> 
> wrote:
> > Also, drivers are supposed to work with some older servers as well, at
> > least some of them.  So even if removing that line for the current
> > server is OK, it probably isn't for older servers.
> 
> What's the trick for compiling future drivers for older servers when
> the given symbol has been removed from the server header files?
> #IFDEF's?

#if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(9, 0)
old code
#else
new code
#endif

Cheers,
Julien
_______________________________________________
[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