diff options
author | Roland McGrath <roland@gnu.org> | 1993-08-01 23:03:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1993-08-01 23:03:26 +0000 |
commit | 04402ae3dc272639d272beed6b5e41e8662f62ef (patch) | |
tree | bba634b0574765782430fcab6c070a84b9db5188 /src/getloadavg.c | |
parent | b7294c7587dfb8bc987881247bb295c06b3114b3 (diff) | |
download | emacs-04402ae3dc272639d272beed6b5e41e8662f62ef.tar.gz |
*** empty log message ***
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r-- | src/getloadavg.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c index ff868c2dafc..2d795db4521 100644 --- a/src/getloadavg.c +++ b/src/getloadavg.c @@ -72,6 +72,13 @@ #include "config.h" #endif + +/* Exclude all the code except the test program at the end + if the system has its own `getloadavg' function. */ + +#ifndef HAVE_GETLOADAVG + + /* The existing Emacs configuration files define a macro called LOAD_AVE_CVT, which accepts a value of type LOAD_AVE_TYPE, and returns the load average multiplied by 100. What we actually want @@ -798,6 +805,8 @@ getloadavg (loadavg, nelem) return -1; #endif } + +#endif /* ! HAVE_GETLOADAVG */ #ifdef TEST void |