I think it has to do with the timespec definition in sys/time_impl.h, but I 
can't get it to compile.

Win SFU> sys/time_impl.h, called by time.h
#if defined(_ALL_SOURCE) \
        || ( defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 19309L) )
struct timespec {
        time_t  tv_sec;         /* seconds */
        long    tv_nsec;        /* nanoseconds */
};
#endif // defined(_ALL_SOURCE) || ( ..  && (_POSIX_C_SOURCE >= 19309L) )

Sol10> sys/time_impl.h called by time.h
typedef struct  timespec {              /* definition per POSIX.4 */
        time_t          tv_sec;         /* seconds */
        long            tv_nsec;        /* and nanoseconds */
} timespec_t;

taking it out of the if statement didn't work either.

just my gut feeling....

Ciaran
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to