Mercurial > emacs
changeset 7874:4f224b16f0f9
Fix previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 13 Jun 1994 21:10:43 +0000 |
parents | 09fd0024f046 |
children | e3a341341aeb |
files | src/m/intel386.h |
diffstat | 1 files changed, 13 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/m/intel386.h Mon Jun 13 21:09:17 1994 +0000 +++ b/src/m/intel386.h Mon Jun 13 21:10:43 1994 +0000 @@ -108,17 +108,6 @@ #define FSCALE 256.0 /* determined by experimentation... */ #endif -#ifdef USG5_4 /* Older USG systems do not support the load average. */ -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ -/* This is totally uncalibrated. */ - -#define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) -#define FSCALE 256.0 -#endif #ifdef SOLARIS2 /* Data type of load average, as read out of kmem. */ @@ -133,7 +122,20 @@ X86 has gethostname but it does not work so undefine it. */ #define LIBS_MACHINE -lkvm #undef HAVE_GETHOSTNAME + +#else /* not SOLARIS2 */ +#ifdef USG5_4 /* Older USG systems do not support the load average. */ +/* Data type of load average, as read out of kmem. */ + +#define LOAD_AVE_TYPE long + +/* Convert that into an integer that is 100 for a load average of 1.0 */ +/* This is totally uncalibrated. */ + +#define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) +#define FSCALE 256.0 #endif +#endif /* not SOLARIS2 */ /* Define CANNOT_DUMP on machines where unexec does not work. Then the function dump-emacs will not be defined