From: Karl Heuer Date: Fri, 9 Jun 1995 01:05:48 +0000 (+0000) Subject: (LIBS_MACHINE): Define to -ldnet or -ldnet_stub. X-Git-Tag: emacs-19.34~3713 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1e7cebf9ae882dbd6a6124ec93b24c975a33856;p=emacs.git (LIBS_MACHINE): Define to -ldnet or -ldnet_stub. --- diff --git a/src/m/alpha.h b/src/m/alpha.h index 2f4d5101c39..0b4db8bb6fc 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h @@ -162,6 +162,13 @@ NOTE-END #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 @@ NOTE-END /* 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 */