summaryrefslogtreecommitdiff
path: root/getloadavg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-06-20 07:50:41 +0000
committerRoland McGrath <roland@redhat.com>1995-06-20 07:50:41 +0000
commit3f49392b9c48c24835ccfc87103ff08ef3a519c6 (patch)
tree7014d41db0270b4829912a0f7cd405a123f8114a /getloadavg.c
parentf9a914c03502eb2a387005ef56c634c034fcb363 (diff)
downloadgunmake-3f49392b9c48c24835ccfc87103ff08ef3a519c6.tar.gz
[convex] (LOAD_AVE_TYPE, LDAV_CVT): Define to double, no conversion.
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 3d805ab..8689a81 100644
--- a/getloadavg.c
+++ b/getloadavg.c
@@ -38,6 +38,7 @@
apollo
BSD Real BSD, not just BSD-like.
+ convex
DGUX
eunice UNIX emulator under VMS.
hpux
@@ -214,6 +215,13 @@ extern int errno;
#define LOAD_AVE_TYPE long
#endif
+#ifdef convex
+#define LOAD_AVE_TYPE double
+#ifndef LDAV_CVT
+#define LDAV_CVT(n) (n)
+#endif
+#endif
+
#endif /* No LOAD_AVE_TYPE. */
#ifdef OSF_ALPHA