[PATCH ati] Remove reference to pixmapPrivate.

Julien Cristau jcristau at debian.org
Fri Oct 1 09:57:13 PDT 2010


On Fri, Oct  1, 2010 at 18:29:54 +0200, Michel Dänzer wrote:

> On Fre, 2010-10-01 at 18:27 +0200, Julien Cristau wrote: 
> > #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...
> 
It'll work for this specific bump.  Or you could do something like
AC_CHECK_MEMBERS([ScrnInfoRec.pixmapPrivate],[],[],[#include <xf86str.h>])
in configure.ac, and check HAVE_SCRNINFOREC_PIXMAPPRIVATE.

Cheers,
Julien


More information about the xorg-devel mailing list