Mercurial > emacs
changeset 18592:d7376a9dca6d
[__GNU__]: Test for not NeXT.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 04 Jul 1997 04:45:19 +0000 |
parents | 068272404827 |
children | 3c958a136c4a |
files | src/getloadavg.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
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