Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bb0807e7
Commit
bb0807e7
authored
Jun 13, 1994
by
Richard M. Stallman
Browse files
Add conditional for SOLARIS2.
parent
1cdf9a36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
src/m/intel386.h
src/m/intel386.h
+15
-0
No files found.
src/m/intel386.h
View file @
bb0807e7
...
...
@@ -120,6 +120,21 @@ NOTE-END */
#define FSCALE 256.0
#endif
#ifdef SOLARIS2
/* 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))
/* j.w.hawtin@lut.ac.uk says Solaris 2.1 on the X86 needs -lkvm, and it
already has FSCALE defined in a system header. configure thinks solaris
X86 has gethostname but it does not work so undefine it. */
#define LIBS_MACHINE -lkvm
#undef HAVE_GETHOSTNAME
#endif
/* Define CANNOT_DUMP on machines where unexec does not work.
Then the function dump-emacs will not be defined
and temacs will do (load "loadup") automatically unless told otherwise. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment