summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-04 04:45:19 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-04 04:45:19 +0000
commit35f1bbbe235e7a68ad729b06e039a2d2dd75cfa3 (patch)
treeb588c291c90ea1422ce8be7e06f2d14e13a12e14
parent9f88582943d7f6386e82354d4043aa958c548c63 (diff)
downloadgunmake-35f1bbbe235e7a68ad729b06e039a2d2dd75cfa3.tar.gz
[__GNU__]: Test for not NeXT.
-rw-r--r--getloadavg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/getloadavg.c b/getloadavg.c
index dba7907..0c4098d 100644
--- a/getloadavg.c
+++ b/getloadavg.c
@@ -436,8 +436,10 @@ extern int errno;
# endif /* LOAD_AVE_TYPE */
-# ifdef __GNU__
-/* GNU hurd systems act sort of like NeXT ones, for load average purposes. */
+# if defined(__GNU__) && !defined (NeXT)
+/* Note that NeXT Openstep defines __GNU__ even though it should not. */
+/* GNU system acts much like NeXT, for load average purposes,
+ but not exactly. */
# define NeXT
# define host_self mach_host_self
# endif