[prototype-PATCH] Change CARDXX and INTXX defines to use stdint.h

Joerg Sonnenberger joerg at britannica.bec.de
Thu Jan 17 13:57:12 PST 2008


On Thu, Jan 17, 2008 at 04:44:42PM -0500, Peter Harris wrote:
> > What do other people have to say about this?
> 
> stdint.h is a C99ism. As far as I know, the reference x11proto still 
> targets C89.
> 
> If you were to only include and use stdint.h on platforms that are known 
> to have a working C99 environment, that would be a much safer change.

I have a number of patches in pkgsrc to make xproto use actual feature
tests for a number of currently hard-coded functions. If there's
interest, it would be easy to extend it to cover e.g. CARD16/CARD32 and
friends.

Joerg



More information about the xorg mailing list