[PATCH] PR/26188, fix stdint.m4 for FreeBSD 4.11

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Fri Jun 16 15:39:00 GMT 2006


The problem with FreeBSD 4.11 is that their stdint.h has uintptr_t but 
not uintmax_t.  stdint.m4 wrongly assumes that if a stdint.h (or 
inttypes.h, it does not matter) has no uintmax_t, it will only have 
uintXX_t or u_intXX_t types in it.

This patch fixes the problem by testing for uintptr_t as well.  I also 
made a few comments less verbose, since with these changes they were not 
precise anymore, either.

Bootstrapped/regtested on the affected system, as reported by Gerald on 
the PR audit trail, and on powerpc-apple-darwin8.5.0.

Ok for mainline?

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr26188-again.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060616/507611ec/attachment.ksh>


More information about the Gcc-patches mailing list