This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: A patch for time/time.h


> 
> 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)


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