Mercurial > hg > xemacs-beta
comparison src/getloadavg.c @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
92 The declaration of `errno' is needed by the test program | 92 The declaration of `errno' is needed by the test program |
93 as well as the function itself, so it comes first. */ | 93 as well as the function itself, so it comes first. */ |
94 | 94 |
95 #include <errno.h> | 95 #include <errno.h> |
96 | 96 |
97 #ifndef errno | |
98 extern int errno; | |
99 #endif | |
100 | |
101 #ifndef HAVE_GETLOADAVG | 97 #ifndef HAVE_GETLOADAVG |
102 | 98 |
103 /* The existing Emacs configuration files define a macro called | 99 /* The existing Emacs configuration files define a macro called |
104 LOAD_AVE_CVT, which accepts a value of type LOAD_AVE_TYPE, and | 100 LOAD_AVE_CVT, which accepts a value of type LOAD_AVE_TYPE, and |
105 returns the load average multiplied by 100. What we actually want | 101 returns the load average multiplied by 100. What we actually want |