Fix previous change.
This commit is contained in:
parent
bb0807e75a
commit
5d32abe64a
1 changed files with 13 additions and 11 deletions
|
@ -108,17 +108,6 @@ NOTE-END */
|
|||
#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 @@ NOTE-END */
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue