summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
authorPaul D. Smith <psmith@BayNetworks.com>1997-04-07 07:22:57 +0000
committerPaul D. Smith <psmith@BayNetworks.com>1997-04-07 07:22:57 +0000
commit7a87552d3a017914531b827cba739783ebcaacb0 (patch)
treeedce4a963636c0dfc805346a21b8b3f6df01bf29 /src/getloadavg.c
parent308683862f69a50451eb4c58714dbb28813b5bb4 (diff)
downloademacs-7a87552d3a017914531b827cba739783ebcaacb0.tar.gz
Changes for make 3.75.1
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 84614870786..be589e7e139 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -43,7 +43,7 @@
DGUX
eunice UNIX emulator under VMS.
hpux
- MSDOS No-op for MSDOS.
+ __MSDOS__ No-op for MSDOS.
NeXT
sgi
sequent Sequent Dynix 3.x.x (BSD)
@@ -52,7 +52,7 @@
UMAX
UMAX4_3
VMS
- WIN32 No-op for Windows95/NT.
+ WINDOWS32 No-op for Windows95/NT.
__linux__ Linux: assumes /proc filesystem mounted.
Support from Michael K. Johnson.
__NetBSD__ NetBSD: assumes /kern filesystem mounted.
@@ -824,7 +824,7 @@ getloadavg (loadavg, nelem)
: (load_ave.tl_avenrun.l[0] / (double) load_ave.tl_lscale));
# endif /* OSF_MIPS */
-# if !defined (LDAV_DONE) && (defined (MSDOS) || defined (WIN32))
+# if !defined (LDAV_DONE) && (defined (__MSDOS__) || defined (WINDOWS32))
# define LDAV_DONE
/* A faithful emulation is going to have to be saved for a rainy day. */
@@ -832,7 +832,7 @@ getloadavg (loadavg, nelem)
{
loadavg[elem] = 0.0;
}
-# endif /* MSDOS */
+# endif /* __MSDOS__ || WINDOWS32 */
# if !defined (LDAV_DONE) && defined (OSF_ALPHA)
# define LDAV_DONE