diff options
author | Bruno Haible <bruno@clisp.org> | 2017-04-30 12:15:08 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-04-30 19:26:37 +0200 |
commit | 8625e57a6e10f41b50d6912d1f9205533bae16b6 (patch) | |
tree | d0e6bf57ad841ca5ba0c49ef0737d8fb5f8bdfdb /m4/ctime.m4 | |
parent | 6736a8833373cc6302e57c4b4ae6ff05a15a27a6 (diff) | |
download | gnulib-8625e57a6e10f41b50d6912d1f9205533bae16b6.tar.gz |
gettimeofday: Provide higher resolution on native Windows.
* lib/gettimeofday.c: Don't include <sys/timeb.h>.
(GetSystemTimePreciseAsFileTimeFuncType): New variable.
(initialize): Initialize it.
(gettimeofday) [WINDOWS_NATIVE]: Use it, and convert from FILETIME to
'struct timeval'. Don't use _ftime().
* m4/gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): Don't test for
<sys/timeb.h> and _ftime.
Diffstat (limited to 'm4/ctime.m4')
0 files changed, 0 insertions, 0 deletions