diff options
Diffstat (limited to 'getloadavg.c')
-rw-r--r-- | getloadavg.c | 8 |
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 |