[PATCH] Use PRId32/PRIx32 from inttypes.h for printf of CARD32 values.
daniel at fooishbar.org
Sat Oct 3 18:23:57 PDT 2009
On Sat, Oct 03, 2009 at 06:12:54PM -0700, Jamey Sharp wrote:
> On Sat, Oct 3, 2009 at 6:06 PM, Daniel Stone <daniel at fooishbar.org> wrote:
> > On Fri, Oct 02, 2009 at 01:42:46PM -0700, Jamey Sharp wrote:
> >> + ErrorF(" rep_insb(%#x) %" PRId32 " bytes at %8.8" PRIx32 " %s\n",
> > Is this portable beyond glibc? Alan? Matthieu?
> It's standardized in C99 and available in many implementations
> earlier, I thought. Good enough? Certainly it's an easy definition to
> duplicate if the system doesn't have it already.
Our usual litmus test is: glibc 2.x, Solaris 9/10, current OS X, plus
some mystical combination of BSD; i.e., will it build on our current
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091004/16b21852/attachment.pgp
More information about the xorg-devel