Mercurial > emacs
comparison src/m/alpha.h @ 13365:2cd15d90fec6
(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
Used new names for those macros in all references.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 31 Oct 1995 05:22:28 +0000 |
parents | 9b1559218458 |
children | 1d69a0ea30ec |
comparison
equal
deleted
inserted
replaced
13364:a568560d232f | 13365:2cd15d90fec6 |
---|---|
26 Use -opsystem=osf1 | 26 Use -opsystem=osf1 |
27 NOTE-END | 27 NOTE-END |
28 | 28 |
29 */ | 29 */ |
30 | 30 |
31 /* The following three symbols give information on | 31 #define BITS_PER_LONG 64 |
32 the size of various data types. */ | |
33 | |
34 #define SHORTBITS 16 /* Number of bits in a short */ | |
35 | |
36 #define INTBITS 32 /* Number of bits in an int */ | |
37 | |
38 #define LONGBITS 64 /* Number of bits in a long */ | |
39 | 32 |
40 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | 33 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
41 is the most significant byte. */ | 34 is the most significant byte. */ |
42 | 35 |
43 #undef WORDS_BIG_ENDIAN | 36 #undef WORDS_BIG_ENDIAN |
204 #define MARKBIT 0x8000000000000000L | 197 #define MARKBIT 0x8000000000000000L |
205 | 198 |
206 | 199 |
207 /* Define XINT and XUINT so that they can take arguments of type int */ | 200 /* Define XINT and XUINT so that they can take arguments of type int */ |
208 | 201 |
209 #define XINT(a) (((long) (a) << (LONGBITS - VALBITS)) >> (LONGBITS - VALBITS)) | 202 #define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) |
210 #define XUINT(a) ((long) (a) & VALMASK) | 203 #define XUINT(a) ((long) (a) & VALMASK) |
211 | 204 |
212 /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | 205 /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ |
213 | 206 |
214 #define XPNTR(a) XUINT (a) | 207 #define XPNTR(a) XUINT (a) |