summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-09-28 21:00:06 +0000
committerRoland McGrath <roland@gnu.org>1994-09-28 21:00:06 +0000
commit59c0e5675431ed5be2a0d703fdd57b9c942692be (patch)
treeecc8e9013fba45a677feceb6a16c3ae8ddc96e26 /src/getloadavg.c
parent7451ae15f971cf12c5a0e68ea3815655ae7af879 (diff)
downloademacs-59c0e5675431ed5be2a0d703fdd57b9c942692be.tar.gz
[alliant && i860] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define.
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r--src/getloadavg.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index fd9fbaefe9e..9bf992b4b58 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -205,6 +205,10 @@ extern int errno;
#define LOAD_AVE_TYPE long
#endif
+#if defined(alliant) && defined(i860) /* Alliant FX/2800 */
+#define LOAD_AVE_TYPE long
+#endif
+
#endif /* No LOAD_AVE_TYPE. */
#ifdef OSF_ALPHA
@@ -242,6 +246,13 @@ extern int errno;
#define FSCALE 100.0
#endif
+#if defined(alliant) && defined(i860) /* Alliant FX/2800 */
+/* <sys/param.h> defines an incorrect value for FSCALE on an
+ Alliant FX/2800 Concentrix 2.2, according to ghazi@noc.rutgers.edu. */
+#undef FSCALE
+#define FSCALE 100.0
+#endif
+
#endif /* Not FSCALE. */
#if !defined (LDAV_CVT) && defined (FSCALE)
@@ -291,7 +302,7 @@ extern int errno;
#define NLIST_STRUCT
#endif
-#ifdef tex4300
+#ifdef tek4300
#define NLIST_STRUCT
#endif
@@ -299,6 +310,10 @@ extern int errno;
#define NLIST_STRUCT
#endif
+#if defined(alliant) && defined(i860) /* Alliant FX/2800 */
+#define NLIST_STRUCT
+#endif
+
#endif /* defined (NLIST_STRUCT) */