# HG changeset patch # User Richard M. Stallman # Date 771541843 0 # Node ID 4f224b16f0f9f28e6f8182048a95048593f627e6 # Parent 09fd0024f046154859ad6a93704816fcffe1c3bb Fix previous change. diff -r 09fd0024f046 -r 4f224b16f0f9 src/m/intel386.h --- 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