aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland McGrath1994-09-28 21:00:06 +0000
committerRoland McGrath1994-09-28 21:00:06 +0000
commit59c0e5675431ed5be2a0d703fdd57b9c942692be (patch)
treeecc8e9013fba45a677feceb6a16c3ae8ddc96e26 /src
parent7451ae15f971cf12c5a0e68ea3815655ae7af879 (diff)
downloademacs-59c0e5675431ed5be2a0d703fdd57b9c942692be.tar.gz
emacs-59c0e5675431ed5be2a0d703fdd57b9c942692be.zip
[alliant && i860] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define.
Diffstat (limited to 'src')
-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;
205#define LOAD_AVE_TYPE long 205#define LOAD_AVE_TYPE long
206#endif 206#endif
207 207
208#if defined(alliant) && defined(i860) /* Alliant FX/2800 */
209#define LOAD_AVE_TYPE long
210#endif
211
208#endif /* No LOAD_AVE_TYPE. */ 212#endif /* No LOAD_AVE_TYPE. */
209 213
210#ifdef OSF_ALPHA 214#ifdef OSF_ALPHA
@@ -242,6 +246,13 @@ extern int errno;
242#define FSCALE 100.0 246#define FSCALE 100.0
243#endif 247#endif
244 248
249#if defined(alliant) && defined(i860) /* Alliant FX/2800 */
250/* <sys/param.h> defines an incorrect value for FSCALE on an
251 Alliant FX/2800 Concentrix 2.2, according to ghazi@noc.rutgers.edu. */
252#undef FSCALE
253#define FSCALE 100.0
254#endif
255
245#endif /* Not FSCALE. */ 256#endif /* Not FSCALE. */
246 257
247#if !defined (LDAV_CVT) && defined (FSCALE) 258#if !defined (LDAV_CVT) && defined (FSCALE)
@@ -291,7 +302,7 @@ extern int errno;
291#define NLIST_STRUCT 302#define NLIST_STRUCT
292#endif 303#endif
293 304
294#ifdef tex4300 305#ifdef tek4300
295#define NLIST_STRUCT 306#define NLIST_STRUCT
296#endif 307#endif
297 308
@@ -299,6 +310,10 @@ extern int errno;
299#define NLIST_STRUCT 310#define NLIST_STRUCT
300#endif 311#endif
301 312
313#if defined(alliant) && defined(i860) /* Alliant FX/2800 */
314#define NLIST_STRUCT
315#endif
316
302#endif /* defined (NLIST_STRUCT) */ 317#endif /* defined (NLIST_STRUCT) */
303 318
304 319