summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-08-02 20:48:12 +0000
committerRoland McGrath <roland@gnu.org>1993-08-02 20:48:12 +0000
commit57be97fb6ae04b0dbb463134ef1315f0dce91aa9 (patch)
treecac06e5f77cbf42f4faa385ffc9bb86dd839b29c /src/getloadavg.c
parentd4aae507844a5b66cb9d85ab3b767726a4748de5 (diff)
downloademacs-57be97fb6ae04b0dbb463134ef1315f0dce91aa9.tar.gz
*** empty log message ***
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r--src/getloadavg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index 2d795db4521..3e4a1d41288 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -197,6 +197,14 @@
#endif /* No LOAD_AVE_TYPE. */
+#ifdef OSF_ALPHA
+/* <sys/param.h> defines an incorrect value for FSCALE on Alpha OSF/1,
+ according to ghazi@noc.rutgers.edu. */
+#undef FSCALE
+#define FSCALE 1024.0
+#endif
+
+
#ifndef FSCALE
/* SunOS and some others define FSCALE in sys/param.h. */