summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-06-14 15:41:17 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-06-14 15:41:17 +0000
commit7584fa98d40958abe6d657e9c5707e962aaf794c (patch)
treed1b42ffcb5de43bcf662979ea85c618959459882 /winsup/cygwin/autoload.cc
parent0ff057d5a5f811d13cbab893d61bade826eaf223 (diff)
downloadcygnal-7584fa98d40958abe6d657e9c5707e962aaf794c.tar.gz
cygnal-7584fa98d40958abe6d657e9c5707e962aaf794c.tar.bz2
cygnal-7584fa98d40958abe6d657e9c5707e962aaf794c.zip
* autoload.cc (GetSystemTimePreciseAsFileTime): Define.
* times.cc (GetSystemTimePreciseAsFileTime): Temporarily declare here to workaround missing definition in 32 bit w32api headers. (get_system_time): New always inline function to call either GetSystemTimePreciseAsFileTime or GetSystemTimeAsFileTime on a per OS basis. Call throughout instead of GetSystemTimeAsFileTime. * wincap.h (wincaps::has_precise_system_time): New element. * wincap.cc: Implement above element throughout.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r--winsup/cygwin/autoload.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index 75771a2b6..ed8080258 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -577,6 +577,7 @@ LoadDLLfunc (GetUdpTable, 12, iphlpapi)
LoadDLLfuncEx (CancelSynchronousIo, 4, kernel32, 1)
LoadDLLfunc (CreateSymbolicLinkW, 12, kernel32)
LoadDLLfuncEx (GetNamedPipeClientProcessId, 8, kernel32, 1)
+LoadDLLfunc (GetSystemTimePreciseAsFileTime, 4, kernel32)
LoadDLLfunc (LocaleNameToLCID, 8, kernel32)
LoadDLLfunc (WNetCloseEnum, 4, mpr)