[patch]: Add check for stdint header
Richard Guenther
richard.guenther@gmail.com
Thu Sep 3 10:55:00 GMT 2009
On Thu, Sep 3, 2009 at 12:18 AM, Kai Tietz<ktietz70@googlemail.com> wrote:
> Hello,
>
> this patch adds to gcc's system.h file the include of stdint.h file,
> if present. If it doesn't finds this header it defines uintptr_t as
> 'unsigned long' and intptr_t as 'long'.
The toplevel already has support for creating a stdint comaptible header,
you should probably simply use that. See config/stdint*.m4.
Richard.
> ChangeLog
>
> 2009-09-03 Kai Tietz <kai.tietz@onevision.com>
>
> * config.in (HAVE_STDINT_H): New.
> * configure.ac (AC_CHECK_HEADERS): Add stdint.h.
> * configure: Regenerated.
> * system.h: Include stdint.h, if present. Or define default
> versions of uintptr_t and intptr_t with long type.
>
> Tested for x86_64-pc-linux, i686-w64-mingw32, and for
> x86_64-w64-mingw32. Ok for apply to trunk?
>
> Cheers,
> Kai
>
> --
> | (\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>
More information about the Gcc-patches
mailing list