aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/getloadavg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index 3d805ab52f0..8689a81eb50 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -38,6 +38,7 @@
38 38
39 apollo 39 apollo
40 BSD Real BSD, not just BSD-like. 40 BSD Real BSD, not just BSD-like.
41 convex
41 DGUX 42 DGUX
42 eunice UNIX emulator under VMS. 43 eunice UNIX emulator under VMS.
43 hpux 44 hpux
@@ -214,6 +215,13 @@ extern int errno;
214#define LOAD_AVE_TYPE long 215#define LOAD_AVE_TYPE long
215#endif 216#endif
216 217
218#ifdef convex
219#define LOAD_AVE_TYPE double
220#ifndef LDAV_CVT
221#define LDAV_CVT(n) (n)
222#endif
223#endif
224
217#endif /* No LOAD_AVE_TYPE. */ 225#endif /* No LOAD_AVE_TYPE. */
218 226
219#ifdef OSF_ALPHA 227#ifdef OSF_ALPHA