From: Richard M. Stallman Date: Fri, 4 Jul 1997 04:45:19 +0000 (+0000) Subject: [__GNU__]: Test for not NeXT. X-Git-Tag: emacs-20.1~1354 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d282be1612599c9e7982d197cd77184f2ead5890;p=emacs.git [__GNU__]: Test for not NeXT. --- 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