Mercurial > emacs
comparison src/m/mips.h @ 91367:c70e45a7acfd
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 30 Jan 2008 07:57:28 +0000 |
parents | 606f2d163a64 91da483b3fa5 |
children |
comparison
equal
deleted
inserted
replaced
91366:86f3a8f0a3a6 | 91367:c70e45a7acfd |
---|---|
128 #define DATA_START 0x800000 | 128 #define DATA_START 0x800000 |
129 #endif /* __linux__ */ | 129 #endif /* __linux__ */ |
130 | 130 |
131 /* Alter some of the options used when linking. */ | 131 /* Alter some of the options used when linking. */ |
132 | 132 |
133 #if !defined(NEWSOS5) && !defined(__linux__) | 133 #if !defined(__linux__) |
134 #ifdef BSD_SYSTEM | 134 #ifdef BSD_SYSTEM |
135 | 135 |
136 /* DECstations don't have this library. | 136 /* DECstations don't have this library. |
137 #define LIBS_MACHINE -lmld */ | 137 #define LIBS_MACHINE -lmld */ |
138 | 138 |
159 #else | 159 #else |
160 #define LIBS_MACHINE -lmld | 160 #define LIBS_MACHINE -lmld |
161 #endif | 161 #endif |
162 | 162 |
163 #endif /* not BSD_SYSTEM */ | 163 #endif /* not BSD_SYSTEM */ |
164 #endif /* not NEWSOS5 && not __linux__ */ | 164 #endif /* not __linux__ */ |
165 | 165 |
166 /* The standard definitions of these macros would work ok, | 166 /* The standard definitions of these macros would work ok, |
167 but these are faster because the constants are short. */ | 167 but these are faster because the constants are short. */ |
168 | 168 |
169 #define XUINT(a) (((unsigned)(a) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS)) | 169 #define XUINT(a) (((unsigned)(a) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS)) |
171 #define XSET(var, type, ptr) \ | 171 #define XSET(var, type, ptr) \ |
172 ((var) = \ | 172 ((var) = \ |
173 ((int)(type) << VALBITS) \ | 173 ((int)(type) << VALBITS) \ |
174 + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))) | 174 + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))) |
175 | 175 |
176 #if !defined (NEWSOS5) && !defined (__linux__) | 176 #if !defined (__linux__) |
177 #ifdef USG | 177 #ifdef USG |
178 | 178 |
179 /* Cancel certain parts of standard sysV support. */ | 179 /* Cancel certain parts of standard sysV support. */ |
180 #undef NONSYSTEM_DIR_LIBRARY | 180 #undef NONSYSTEM_DIR_LIBRARY |
181 #define SYSV_SYSTEM_DIR | 181 #define SYSV_SYSTEM_DIR |
211 #define TERMINFO | 211 #define TERMINFO |
212 #undef MAIL_USE_FLOCK /* Someone should check this. */ | 212 #undef MAIL_USE_FLOCK /* Someone should check this. */ |
213 #undef HAVE_UNION_WAIT | 213 #undef HAVE_UNION_WAIT |
214 #endif /* BSD_SYSTEM */ | 214 #endif /* BSD_SYSTEM */ |
215 | 215 |
216 #endif /* not NEWSOS5 && not __linux__ */ | 216 #endif /* not __linux__ */ |
217 | 217 |
218 /* arch-tag: 8fd020ee-78a7-4d87-96ce-6129f52f7bee | 218 /* arch-tag: 8fd020ee-78a7-4d87-96ce-6129f52f7bee |
219 (do not change this comment) */ | 219 (do not change this comment) */ |