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 2/3] Use latest <sys/time.h> from FreeBSD for RTEMS


On Mar 11 13:46, Sebastian Huber wrote:
> ----- UrsprÃngliche Mail -----
> > Von: "Corinna Vinschen"
> > Is the FreeBSD version unsuitable for other targets?  What would be
> > the problem to replace the public sys/time.h with that FreeBSD version
> > instead?
> 
> The FreeBSD version contains also some _KERNEL parts.  I need this for
> RTEMS since I want to use the FreeBSD timecounters for RTEMS
> internally.  In case they don't hurt, then I can try to merge the
> Newlib <sys/time.h> and the FreeBSD <sys/time.h> somehow and avoid a
> RTEMS specific version.

We have such headers using the _KERNEL checks in Cygwin as well.  They
usually don't hurt and we're even partially using the blocks guarded by
_KERNEL.  I think it would be nice to have as much common headers as
possible, but I'm also ok to apply the rtems-specific header as is,
if you think that's too much work.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: pgpUjcoir_MeU.pgp
Description: PGP signature


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