[PATCH 2/3] Use latest <sys/time.h> from FreeBSD for RTEMS
Wed Mar 11 15:02:00 GMT 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Newlib