changeset 12146:3cc9c1ed504d

(LIBS_MACHINE): Define to -ldnet or -ldnet_stub.
author Karl Heuer <kwzh@gnu.org>
date Fri, 09 Jun 1995 01:05:48 +0000
parents bd3e59a5c0b3
children 9200a0e153d3
files src/m/alpha.h
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */