]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Re-enable support for Reliant & SCO
authorHarlan Stenn <stenn@ntp.org>
Wed, 3 Mar 2004 03:21:11 +0000 (22:21 -0500)
committerHarlan Stenn <stenn@ntp.org>
Wed, 3 Mar 2004 03:21:11 +0000 (22:21 -0500)
bk: 40454f27aFW27gcHLEyK7DTqBOIUWA

libntp/systime.c

index 77a3b1b91f9c7ad55374bd2ed73715d129722049..5bc7b98659237d64a9d9347742929087de884c02 100644 (file)
  * adjtime() quantum is a clock tick for a 100-Hz clock, the quantum
  * should be 10 ms.
  */
-double sys_tick = 1e-6;        /* tickadj() quantum (s) */
+#if defined RELIANTUNIX_CLOCK || defined SCO5_CLOCK
+double sys_tick = 10e-3;       /* 10 ms tickadj() */
+#else
+double sys_tick = 1e-6;        /* 1 us tickadj() */
+#endif
 double sys_residual = 0;       /* adjustment residue (s) */
 
 #ifndef SIM