bk: 3e979839jqZdqh1KOp3931rL5tcDQg
* Figure out how much of the fraction to do
*/
if (msec) {
- dec = ndec + 3;
+ dec = (short)(ndec + 3);
if (dec < 3)
dec = 3;
cpdec = &cbuf[8];
unsigned int sign;
unsigned int bias;
unsigned int maxexp;
- unsigned int mbits;
+ int mbits;
u_long mantissa_low;
u_long mantissa_high;
u_long characteristic;
#endif
#ifdef SYS_WINNT
-# include <conio.h>
+int _getch(void); /* Declare the one function rather than include conio.h */
#else
#ifdef SYS_VXWORKS
* Go around again
*/
}
+#ifndef SYS_WINNT
exit(1); /* unreachable */
+#endif
#ifndef SYS_WINNT
return 1; /* DEC OSF cc braindamage */
#endif
}
#endif
#else /* not DEBUG */
-/*
+#ifndef SYS_WINNT/*
* no_debug - We don't do the debug here.
*/
static RETSIGTYPE
msyslog(LOG_DEBUG, "ntpd not compiled for debugging (signal %d)", sig);
errno = saved_errno;
}
+#endif /* not SYS_WINNT */
#endif /* not DEBUG */
#ifdef SYS_WINNT
# endif
#define SIOCGIFFLAGS SIO_GET_INTERFACE_LIST /* used in ntp_io.c */
+/* Include Windows headers */
+#include <windows.h>
+
#endif /* __config */