From d282be1612599c9e7982d197cd77184f2ead5890 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 4 Jul 1997 04:45:19 +0000 Subject: [PATCH] [__GNU__]: Test for not NeXT. --- src/getloadavg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/getloadavg.c b/src/getloadavg.c index dba7907bd77..0c4098d8619 100644 --- a/src/getloadavg.c +++ b/src/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 -- 2.39.2