+* [Bug 757] Lose ULONG_CONST().
* [Bug 756] Require ANSI C (function prototypes).
* codec (audio) and ICOM changes from Dave Mills.
\f
AC_PATH_PROG(PATH_SH, sh)
AC_PATH_PROG(PATH_PERL, perl)
-hs_ULONG_CONST
-
case "$host" in
*-*-vxworks*)
ac_link="$ac_link $VX_KERNEL"
*/
#include "ntp_fp.h"
-#define GPSORIGIN ULONG_CONST(2524953600) /* NTP origin - GPS origin in seconds */
+#define GPSORIGIN 2524953600UL /* NTP origin - GPS origin in seconds */
#define SECSPERWEEK (unsigned)(604800) /* seconds per week - GPS tells us about weeks */
#define GPSWRAP 990 /* assume week count less than this in the previous epoch */
+++ /dev/null
-AC_DEFUN([hs_ULONG_CONST],
-[ AH_TEMPLATE(ULONG_CONST, [How do we create unsigned long constants?])
- AC_DEFINE([ULONG_CONST(a)], [a ## UL])])
*cp++ = '=';
(void) sprintf(cp, "0x%08lx.%08lx",
- ts->l_ui & ULONG_CONST(0xffffffff),
- ts->l_uf & ULONG_CONST(0xffffffff));
+ ts->l_ui & 0xffffffffUL,
+ ts->l_uf & 0xffffffffUL);
while (*cp != '\0')
cp++;
ctl_putdata(buffer, (unsigned)( cp - buffer ), 0);
* Cryptodefines
*/
#define MD5KEYS 16 /* number of MD5 keys generated */
-#define JAN_1970 ULONG_CONST(2208988800) /* NTP seconds */
+#define JAN_1970 2208988800UL /* NTP seconds */
#define YEAR ((long)60*60*24*365) /* one year in seconds */
#define MAXFILENAME 256 /* max file name length */
#define MAXHOSTNAME 256 /* max host name length */