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
commit76e3e64f810cfc96fb96d4120aaf2eb581220368 (patch)
tree04248ef3f383cc487748f256fe2d2159bb22af94 /src/getloadavg.c
parent12c3503622b1d1fe4ff96247f8a8dbf6e6954db5 (diff)
downloademacs-76e3e64f810cfc96fb96d4120aaf2eb581220368.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