summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-07-30 03:20:49 +0000
committerRoland McGrath <roland@gnu.org>1993-07-30 03:20:49 +0000
commit22ddf25060df64d2ae24b5a85d7c0a56a9b142dc (patch)
treee65be3c7d3e63bb43627e20759c6605711d52f31 /src/getloadavg.c
parentd859c2cb938ff78f78df02b21ffa50d67a2c15c7 (diff)
downloademacs-22ddf25060df64d2ae24b5a85d7c0a56a9b142dc.tar.gz
*** empty log message ***
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r--src/getloadavg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index 397fc46dbc1..60036bce46f 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -31,7 +31,7 @@
the nlist n_name element is a pointer,
not an array.
NLIST_NAME_UNION struct nlist has an n_un member, not n_name.
- LINUX_LDAV_FILE [LINUX]: Name of file containing load averages.
+ LINUX_LDAV_FILE [__linux__]: File containing load averages.
Specific system predefines this file uses, aside from setting
default values if not emacs:
@@ -49,7 +49,7 @@
UMAX
UMAX4_3
VMS
- LINUX Linux: assumes /proc filesystem mounted.
+ __linux__ Linux: assumes /proc filesystem mounted.
Support from Michael K. Johnson.
In addition, to avoid nesting many #ifdefs, we internally set
@@ -457,7 +457,7 @@ getloadavg (loadavg, nelem)
elem = -1;
#endif
-#if !defined (LDAV_DONE) && defined (LINUX)
+#if !defined (LDAV_DONE) && defined (__linux__)
#define LDAV_DONE
#undef LOAD_AVE_TYPE
@@ -487,7 +487,7 @@ getloadavg (loadavg, nelem)
return elem;
-#endif /* LINUX */
+#endif /* __linux__ */
#if !defined (LDAV_DONE) && defined (NeXT)
#define LDAV_DONE