19 #ifndef GETCLOCKTIMER_HPP 20 #define GETCLOCKTIMER_HPP 1 29 #if !defined(HAVE_CLOCK_GETTIME) && !defined(__OS2__) 37 #if defined WIN32 && !defined(HAVE_STRUCT_TIMESPEC) 44 #define CLOCK_REALTIME 0 46 static int clock_gettime(
int,
struct timespec *tp) {
49 int ret = gettimeofday(&now, NULL);
54 tp->tv_sec = now.tv_sec;
55 tp->tv_nsec = now.tv_usec * 1000;
var ret
Definition: extensions/fileio/test.as:115