Mercurial > hg > xemacs-beta
comparison src/m/intel386.h @ 149:538048ae2ab8 r20-3b1
Import from CVS: tag r20-3b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:36:16 +0200 |
parents | 376386a54a3c |
children | 59463afc5666 |
comparison
equal
deleted
inserted
replaced
148:f659db2a1f73 | 149:538048ae2ab8 |
---|---|
90 #define LOAD_AVE_TYPE long | 90 #define LOAD_AVE_TYPE long |
91 | 91 |
92 /* Convert that into an integer that is 100 for a load average of 1.0 */ | 92 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
93 /* This is totally uncalibrated. */ | 93 /* This is totally uncalibrated. */ |
94 #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) | 94 #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) |
95 | |
96 /* J.W.Hawtin@lut.ac.uk say Solaris 2.4 as well as Solaris 2.1 on X86 | |
97 requires -lkvm as well */ | |
98 #define LIBS_MACHINE -lkvm | |
99 | |
100 #ifndef SOLARIS2_4 | |
101 /* J.W.hawtin@lut.ac.uk says Solaris 2.1 on the X86 has FSCALE defined in a | |
102 system header. */ | |
103 | |
104 #else /* SOLARIS2_4 */ | |
105 #ifndef __GNUC__ | |
106 #if 0 /* wisner@gryphon.com says this screws up cpp */ | |
107 #define C_SWITCH_MACHINE -Xa | |
108 #endif | |
109 #ifndef NOT_C_CODE | |
110 #ifdef HAVE_ALLOCA_H | |
111 #include <alloca.h> | |
112 #endif /* HAVE_ALLOCA_H */ | |
113 #endif /* not NOT_C_CODE */ | |
114 #endif /* not __GNUC__ */ | |
115 #endif /* SOLARIS2_4 */ | |
116 | 95 |
117 /* configure thinks solaris X86 has gethostname, but it does not work, | 96 /* configure thinks solaris X86 has gethostname, but it does not work, |
118 so undefine it. */ | 97 so undefine it. */ |
119 #undef HAVE_GETHOSTNAME | 98 #undef HAVE_GETHOSTNAME |
120 | 99 |