[PATCH] Add <sys/_stdint.h> for FreeBSD compatibility
Corinna Vinschen
vinschen@redhat.com
Mon Mar 30 10:42:00 GMT 2015
On Mar 24 11:00, Corinna Vinschen wrote:
> 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?
Obviously not. I try to come up with a test this week so I can check
that removing the Cygwin stdint.h and inttypes.h doesn't change the
result. Sorry, but I really don't want to apply this patch without
the accompanying Cygwin change. Hope that's ok.
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/20150330/7abaf8e4/attachment.sig>
More information about the Newlib
mailing list