[PATCH v2] Harmonize stdint.h and _default_types.h
Corinna Vinschen
vinschen@redhat.com
Wed Dec 4 17:30:00 GMT 2013
On Dec 3 15:52, Sebastian Huber wrote:
> v2: Fix INT(8|16|32|64)_C() definitions.
>
> 2013-12-03 Sebastian Huber <...>
>
> * libc/include/machine/_default_types.h: Move extern "C" after
> header includes. Include <sys/features.h> for
> __GNUC_PREREQ__().
> (__u?int.*_t): Define via GCC provided __U?INT.*_TYPE__ if
> available.
> (__intptr_t): Define.
> (__uintptr_t): Likewise.
> * libc/include/stdint.h: Include <machine/_default_types.h>
> instead of <_ansi.h>.
> (u?int.*_t): Define via __u?int.*_t provided by
> <machine/_default_types.h>.
> (u?int_fast.*_t): Define via GCC provided
> __U?INT_FAST.*_TYPE__ if available.
> (U?INT.*(MIN|MAX)): Define via GCC provided __U?INT.*(MIN|MAX)__
> if available.
> (U?INT.*_C): Define via GCC provided __U?INT.*_C if available.
> * libc/include/sys/cdefs.h: Use <machine/_default_types.h>
> instead of <stdint.h>.
> * libc/sys/rtems/sys/cpuset.h: Likewise.
> * libc/sys/rtems/machine/_types.h: Include <stdint.h> for
> FreeBSD compatibility.
Applied. Thanks for the review, Hans-Peter.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131204/11c7ba10/attachment.sig>
More information about the Newlib
mailing list