Mercurial > emacs
changeset 4409:084df29978c7
*** empty log message ***
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Sun, 01 Aug 1993 23:03:26 +0000 |
parents | 77f1058e7499 |
children | 25fb71fc2643 |
files | src/getloadavg.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/getloadavg.c Sun Aug 01 22:47:44 1993 +0000 +++ b/src/getloadavg.c Sun Aug 01 23:03:26 1993 +0000 @@ -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 @@ return -1; #endif } + +#endif /* ! HAVE_GETLOADAVG */ #ifdef TEST void