[PATCH 1/6 v2] Add X*asprintf() routines to mirror common asprintf() routines

Daniel Stone daniel at fooishbar.org
Mon Dec 6 05:51:51 PST 2010


On Fri, Dec 03, 2010 at 09:57:42AM -0800, Alan Coopersmith wrote:
> I can wrap in in #ifndef HAVE_ASPRINTF but then either have
> to guess which autoconf header to include for that (dix-config.h in most of
> the server, xorg-server.h in drivers) or require all callers to include it
> in an appropriate header beforehand.

All callers need to have dix-config.h, xorg-config.h, or xorg-server.h
included first anyway; they contain much more insidious stuff already,
like _XSERVER64 which changes the definition of CARD32.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101206/b68c753c/attachment.pgp>


More information about the xorg-devel mailing list