[PATCH] Add <sys/_stdint.h> for FreeBSD compatibility

Corinna Vinschen vinschen@redhat.com
Tue Mar 24 10:04:00 GMT 2015


On Mar 23 20:36, Sebastian Huber wrote:
> 	* libc/include/sys/_stdint.h: New file.
> 	* libc/include/stdint.h (int8_t): Move to <sys/_stdint.h>.
> 	(uint8_t): Likewise.
> 	(int16_t): Likewise.
> 	(uint16_t): Likewise.
> 	(int32_t): Likewise.
> 	(uint32_t): Likewise.
> 	(int64_t): Likewise.
> 	(uint64_t): Likewise.
> 	* libc/include/sys/types.h: Include <sys/_stdint.h>.
> 	* libc/sys/rtems/machine/_types.h: Remove <stdint.h> include.
> 	* libc/sys/time.h>: Replace __uint32_t with uint32_t and
> 	__uint64_t with uint64_t.

I'd like to take the opportunity to drop the Cygwin-only stdint.h
and inttypes.h files and use the newlib ones instead.

Does anybody have some testcode which allows to see if the old and
the new stdint.h/inttypes.h render the exact same result?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150324/abfee807/attachment.sig>


More information about the Newlib mailing list