summaryrefslogtreecommitdiff
path: root/src/m
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-09 01:05:48 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-09 01:05:48 +0000
commitf348d96cf2ad454c169192b33590d70a76b3f1cd (patch)
treea706539a4c6e2509c8897e5d2d38b60fe5957187 /src/m
parent6e004640c747012b11205575b5540a240330bd51 (diff)
downloademacs-f348d96cf2ad454c169192b33590d70a76b3f1cd.tar.gz
(LIBS_MACHINE): Define to -ldnet or -ldnet_stub.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/alpha.h11
1 files changed, 9 insertions, 2 deletions
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 */