# HG changeset patch # User Karl Heuer # Date 802659948 0 # Node ID 3cc9c1ed504d6656b66f426690d89ad2f44f80ae # Parent bd3e59a5c0b3cda4fc47bebb60a34c25422f0605 (LIBS_MACHINE): Define to -ldnet or -ldnet_stub. diff -r bd3e59a5c0b3 -r 3cc9c1ed504d src/m/alpha.h --- a/src/m/alpha.h Fri Jun 09 01:00:42 1995 +0000 +++ b/src/m/alpha.h Fri Jun 09 01:05:48 1995 +0000 @@ -162,6 +162,13 @@ #define ORDINARY_LINK +/* Some systems seem to have this, others don't. */ +#ifdef HAVE_LIBDNET +#define LIBS_MACHINE -ldnet +#else +#define LIBS_MACHINE -ldnet_stub +#endif + #ifndef __GNUC__ /* This apparently is for the system ld as opposed to Gnu ld. */ #ifdef OSF1 @@ -193,8 +200,8 @@ /* Define XINT and XUINT so that they can take arguments of type int */ -#define XINT(a) (((long)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) -#define XUINT(a) ((long)(a) & VALMASK) +#define XINT(a) (((long) (a) << (LONGBITS - VALBITS)) >> (LONGBITS - VALBITS)) +#define XUINT(a) ((long) (a) & VALMASK) /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */