From: Chris Hanson Date: Mon, 14 May 2018 04:52:51 +0000 (-0700) Subject: Don't use CLOCKS_PER_SEC for the value returned by times(). X-Git-Tag: mit-scheme-pucked-x11-0.3.1~7^2~43 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=6609abea3f6ce6858de5824cb6a6e8607e412817;p=mit-scheme.git Don't use CLOCKS_PER_SEC for the value returned by times(). --- diff --git a/src/microcode/uxenv.c b/src/microcode/uxenv.c index 70ccf5eaa..170c959a1 100644 --- a/src/microcode/uxenv.c +++ b/src/microcode/uxenv.c @@ -516,7 +516,7 @@ OS_jiffies_per_second (void) #ifdef __APPLE__ return (CLK_TCK); #else - return (CLOCKS_PER_SEC); + return (UX_SC_CLK_TCK ()); #endif }