This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Harmonize stdint.h and _default_types.h


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

Attachment: pgphEj8txY0Tx.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]