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 problem with timespec


> 
> hjl@lucon.org (H.J. Lu) writes:
> 
> > VSX-PCT doesn't like
> > 
> > struct timespec
> >   {
> >     long int tv_sec;            /* Seconds.  */
> >     long int tv_nsec;           /* Nanoseconds.  */
> >   };
> > 
> > It defines -D_POSIX_C_SOURCE=199506.
> 
> In what context?  timespec certainly is needed and since it is part of
> POSIX.1b it must be available if _POSIX_C_SOURCE=199506 is selected.
> 

It only complains it when it sees them in <signal.h>.

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