summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getloadavg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 8dba8a1..db1f715 100644
--- a/getloadavg.c
+++ b/getloadavg.c
@@ -203,6 +203,9 @@
#endif
#if defined (sgi) || defined (sequent)
+/* Sometimes both MIPS and sgi are defined, so FSCALE was just defined
+ above under #ifdef MIPS. But we want the sgi value. */
+#undef FSCALE
#define FSCALE 1000.0
#endif