On Fre, 2010-10-01 at 18:27 +0200, Julien Cristau wrote: > 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
That would work perfectly, if the ABI was bumped by every change which breaks the ABI... -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
