A patch for time/time.h
H.J. Lu
hjl@lucon.org
Sun Oct 25 08:22:00 GMT 1998
>
> hjl@lucon.org (H.J. Lu) writes:
>
> > I added __USE_POSIX4 for POSIX.4.
> >
> > --
> > H.J. Lu (hjl@gnu.org)
> > ---
> > Sat Oct 24 17:56:44 1998 H.J. Lu <hjl@gnu.org>
> >
> > * time/time.h (timespec): Protect with __USE_POSIX4 instead of
> > __USE_POSIX.
> > (nanosleep): Protect with __USE_POSIX4 instead of
> > __USE_POSIX199309.
>
> There is no need for __USE_POSIX4. The __USE_POSIX199309 macro is
> sufficent. And therefore the change of the guard for nanosleep is
> also unnecessary. I've changed my copy here this way now.
>
I am not sure about it. The POSIX96 test in VSX-PCT uses
-D_POSIX_C_SOURCE=199506L
But it doesn't want to see those POSIX.2 stuff nor POSIX.4.
--
H.J. Lu (hjl@gnu.org)
More information about the Libc-hacker
mailing list