diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-07 03:44:33 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-07 03:44:33 +0000 |
commit | 9d0efbb3aeef0490d227c9b98bd478ac1964d16d (patch) | |
tree | 005964002ffa58bbddce64254ce2b60cfc9e0d59 /winsup/cygwin/autoload.cc | |
parent | b841df7954ad31383688775114132af73b7693d4 (diff) | |
download | cygnal-9d0efbb3aeef0490d227c9b98bd478ac1964d16d.tar.gz cygnal-9d0efbb3aeef0490d227c9b98bd478ac1964d16d.tar.bz2 cygnal-9d0efbb3aeef0490d227c9b98bd478ac1964d16d.zip |
* autoload.cc (timeGetDevCaps): Define new autoload function.
(timeGetTime): Ditto.
(timeBeginPeriod): Ditto.
(timeEndPeriod): Ditto.
* hires.h (hires_base): New class. Renamed from hires.
(hires_us): New class.
(hires_ms): New class.
* strace.cc (strace::microseconds): Use hires_us class.
* times.cc (gettimeofday): Use hires-ms class.
(hires_us::prime): Renamed from hires::prime.
(hires_us::usecs): Renamed from hires:usecs.
(hires_ms::prime): New method.
(hires_ms::usecs): New method.
(hires_ms::~hires_ms): New destructor.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 7776896e3..9bae17deb 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -504,4 +504,8 @@ LoadDLLfuncEx (waveOutSetVolume, 8, winmm, 1) LoadDLLfuncEx (waveOutUnprepareHeader, 12, winmm, 1) LoadDLLfuncEx (waveOutPrepareHeader, 12, winmm, 1) LoadDLLfuncEx (waveOutWrite, 12, winmm, 1) +LoadDLLfuncEx (timeGetDevCaps, 8, winmm, 1) +LoadDLLfuncEx (timeGetTime, 0, winmm, 1) +LoadDLLfuncEx (timeBeginPeriod, 4, winmm, 1) +LoadDLLfuncEx (timeEndPeriod, 4, winmm, 1) } |