Mercurial > emacs
diff src/getloadavg.c @ 18592:d7376a9dca6d
[__GNU__]: Test for not NeXT.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 04 Jul 1997 04:45:19 +0000 |
parents | 24e9e8d0080e |
children | 0481616b859c |
line wrap: on
line diff
--- a/src/getloadavg.c Fri Jul 04 04:44:53 1997 +0000 +++ b/src/getloadavg.c Fri Jul 04 04:45:19 1997 +0000 @@ -436,8 +436,10 @@ # 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