time.c   time.c 
skipping to change at line 42 skipping to change at line 42
{ {
LONGLONG ll; LONGLONG ll;
ll = Int32x32To64(t.tv_sec, KDE_USEC_IN_SEC*10) + t.tv_usec*10 + KDE _SECONDS_SINCE_1601*KDE_USEC_IN_SEC*10; ll = Int32x32To64(t.tv_sec, KDE_USEC_IN_SEC*10) + t.tv_usec*10 + KDE _SECONDS_SINCE_1601*KDE_USEC_IN_SEC*10;
pft->dwLowDateTime = (DWORD)ll; pft->dwLowDateTime = (DWORD)ll;
pft->dwHighDateTime = ll >> 32; pft->dwHighDateTime = ll >> 32;
} }
// //
// sys/time.h fnctions // sys/time.h fnctions
// // Added a '2' to avoids a name collision...
int gettimeofday(struct timeval *__p, void *__t) int gettimeofday2(struct timeval *__p, void *__t)
{ {
union { union {
unsigned long long ns100; /*time since 1 Jan 1601 in 100ns u nits */ unsigned long long ns100; /*time since 1 Jan 1601 in 100ns u nits */
FILETIME ft; FILETIME ft;
} now; } now;
GetSystemTimeAsFileTime (&now.ft); GetSystemTimeAsFileTime (&now.ft);
__p->tv_usec = (long) ((now.ns100 / 10LL) % KDE_USEC_IN_SEC); __p->tv_usec = (long) ((now.ns100 / 10LL) % KDE_USEC_IN_SEC);
__p->tv_sec = (long)(((now.ns100 / 10LL ) / KDE_USEC_IN_SEC) - KDE_ SECONDS_SINCE_1601); __p->tv_sec = (long)(((now.ns100 / 10LL ) / KDE_USEC_IN_SEC) - KDE_ SECONDS_SINCE_1601);
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/