summaryrefslogtreecommitdiff
path: root/getloadavg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-08-02 20:48:12 +0000
committerRoland McGrath <roland@redhat.com>1993-08-02 20:48:12 +0000
commite75d998e5019fcca01463fa22bb7f37ecfce669e (patch)
tree54d36cac83eed1c425fbbbc009bcbc568a89745f /getloadavg.c
parentae087fbb2f5ec8f1439091aad1eb2f9764cb1bbe (diff)
downloadmake-e75d998e5019fcca01463fa22bb7f37ecfce669e.tar.gz
*** empty log message ***
Diffstat (limited to 'getloadavg.c')
-rw-r--r--getloadavg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 2d795db..3e4a1d4 100644
--- a/getloadavg.c
+++ b/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. */