This is the mail archive of the libc-alpha@sources.redhat.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]
Other format: [Raw text]

Re: struct stat.h with nanosecond resolution


On Mon, Dec 02, 2002 at 02:55:17AM -0800, Ulrich Drepper wrote:
> Andi Kleen wrote:
> 
> > Solaris makes it conditional on _XOPEN_SOURCE || _POSIX_SOURCE 
> > 
> > (struct timespec if these are not defined, otherwise _timespec) 
> > 
> > Probably a good idea, to keep maximum type compatibility.
> 
> 
> No, this is nonsense.  There is absolutely no need for any #ifdef.
> 
> Use __timespec_t.

Just will it be assignment compatible then with struct timespec ? 

-Andi


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