ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_win32.c
(Generate patch)

Comparing libev/ev_win32.c (file contents):
Revision 1.20 by root, Thu Jul 11 08:22:54 2019 UTC vs.
Revision 1.21 by root, Tue Nov 19 20:09:49 2019 UTC

153 GetSystemTimeAsFileTime (&ft); 153 GetSystemTimeAsFileTime (&ft);
154 ui.u.LowPart = ft.dwLowDateTime; 154 ui.u.LowPart = ft.dwLowDateTime;
155 ui.u.HighPart = ft.dwHighDateTime; 155 ui.u.HighPart = ft.dwHighDateTime;
156 156
157 /* also, msvc cannot convert ulonglong to double... yes, it is that sucky */ 157 /* also, msvc cannot convert ulonglong to double... yes, it is that sucky */
158 return EV_TS_FROM_USEC (((LONGLONG)(ui.QuadPart - 116444736000000000) * 1e-1)) 158 return EV_TS_FROM_USEC (((LONGLONG)(ui.QuadPart - 116444736000000000) * 1e-1));
159} 159}
160 160
161#endif 161#endif
162 162

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines