]> git.eshelyaron.com Git - emacs.git/commit
Don't use CLOCKS_PER_SEC in w32 timers.
authorEli Zaretskii <eliz@gnu.org>
Sun, 28 Oct 2012 17:42:52 +0000 (19:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 28 Oct 2012 17:42:52 +0000 (19:42 +0200)
commit640bf8ad44027d37f917d0927e50c2dfea254917
tree19953e299a16d30ef5357549c3a753a320228074
parent64ccff5f0ed8f0347b30e8fb4bd9b18a6cbaf1c0
Don't use CLOCKS_PER_SEC in w32 timers.

 src/w32proc.c (TIMER_TICKS_PER_SEC): New macro.
 (timer_loop, getitimer, setitimer): Use it instead of
 CLOCKS_PER_SEC, which is no longer pertinent, since we don't use
 'clock'.
 (w32_get_timer_time): Use 10*TIMER_TICKS_PER_SEC instead of a
 literal 10000.
src/ChangeLog
src/w32proc.c