summaryrefslogtreecommitdiff
path: root/getloadavg.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1997-04-07 18:02:17 +0000
committerPaul Smith <psmith@gnu.org>1997-04-07 18:02:17 +0000
commit73fcfdbe243f90ad7450bbd4202ae7b9413a8637 (patch)
treec86c67a71b6443f82e69115431082f6704394732 /getloadavg.c
parent0ada207e2dca2b69a65ce186e625e7f6397edd34 (diff)
downloadgunmake-73fcfdbe243f90ad7450bbd4202ae7b9413a8637.tar.gz
Last-minute changed for 3.75.1
Diffstat (limited to 'getloadavg.c')
-rw-r--r--getloadavg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/getloadavg.c b/getloadavg.c
index be589e7..dba7907 100644
--- a/getloadavg.c
+++ b/getloadavg.c
@@ -541,7 +541,7 @@ getloadavg (loadavg, nelem)
elem = -1;
# endif
-# if !defined (LDAV_DONE) && defined (SUNOS_5)
+# if !defined (LDAV_DONE) && defined (HAVE_LIBKSTAT)
/* Use libkstat because we don't have to be root. */
# define LDAV_DONE
kstat_ctl_t *kc;
@@ -586,7 +586,7 @@ getloadavg (loadavg, nelem)
}
kstat_close (kc);
-# endif /* SUNOS_5 */
+# endif /* HAVE_LIBKSTAT */
# if !defined (LDAV_DONE) && defined (hpux) && defined (HAVE_PSTAT_GETDYNAMIC)
/* Use pstat_getdynamic() because we don't have to be root. */