This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: A patch for time/time.h
- To: drepper@cygnus.com
- Subject: Re: A patch for time/time.h
- From: hjl@lucon.org (H.J. Lu)
- Date: Sun, 25 Oct 1998 08:11:11 -0800 (PST)
- Cc: libc-hacker@cygnus.com
>
> 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)