changeset 9172:393a55341859

[alliant && i860] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define.
author Roland McGrath <roland@gnu.org>
date Wed, 28 Sep 1994 21:00:06 +0000
parents 391441a19e1e
children 6ee3eeec722b
files src/getloadavg.c
diffstat 1 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/getloadavg.c	Wed Sep 28 20:45:25 1994 +0000
+++ b/src/getloadavg.c	Wed Sep 28 21:00:06 1994 +0000
@@ -205,6 +205,10 @@
 #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 @@
 #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 @@
 #define NLIST_STRUCT
 #endif
 
-#ifdef tex4300
+#ifdef tek4300
 #define NLIST_STRUCT
 #endif
 
@@ -299,6 +310,10 @@
 #define NLIST_STRUCT
 #endif
 
+#if defined(alliant) && defined(i860) /* Alliant FX/2800 */
+#define NLIST_STRUCT
+#endif
+
 #endif /* defined (NLIST_STRUCT) */