summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-07-30 03:20:49 +0000
committerRoland McGrath <roland@redhat.com>1993-07-30 03:20:49 +0000
commite22a936ca56b277efbe485aa4eb8c988a401b2b3 (patch)
treee7b4b7d2a8301e788f8c99131b94435d6d2f1458
parent9f33e6cdcba9895d70eff93f08800feea76f002e (diff)
downloadgunmake-e22a936ca56b277efbe485aa4eb8c988a401b2b3.tar.gz
*** empty log message ***
-rw-r--r--getloadavg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 397fc46..60036bc 100644
--- a/getloadavg.c
+++ b/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