Better FreeBSD compatibility

Corinna Vinschen vinschen@redhat.com
Thu Apr 7 07:21:00 GMT 2016


On Apr  6 12:04, Sebastian Huber wrote:
> Hello,
> 
> in RTEMS we use the FreeBSD network stack and other components. I would like
> to make some Newlib headers (e.g. <sys/tyeps.h>, <sys/param.h> and
> <sys/time.h>) more compatible to FreeBSD so that we can use them directly.
> This involves changes like this:
> 
> Change internal type from x to y, e.g. _off_t to __off_t.
> 
> Change type define guard from x to y. e.g. __clockid_t_defined to
> _CLOCKID_T_DECLARED.

As long as you test that your changes don't break Cygwin it should
be ok.

However, how sure can we be that Cygwin is the *only* target using
internal types outside the newlib tree?


Corinna

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


More information about the Newlib mailing list