Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/m/alpha.h Tue Oct 31 02:48:28 1995 +0000 +++ b/src/m/alpha.h Tue Oct 31 05:22:28 1995 +0000 @@ -28,14 +28,7 @@ */ -/* The following three symbols give information on - the size of various data types. */ - -#define SHORTBITS 16 /* Number of bits in a short */ - -#define INTBITS 32 /* Number of bits in an int */ - -#define LONGBITS 64 /* Number of bits in a long */ +#define BITS_PER_LONG 64 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word is the most significant byte. */ @@ -206,7 +199,7 @@ /* Define XINT and XUINT so that they can take arguments of type int */ -#define XINT(a) (((long) (a) << (LONGBITS - VALBITS)) >> (LONGBITS - VALBITS)) +#define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) #define XUINT(a) ((long) (a) & VALMASK) /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */
