diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-10-31 05:22:28 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-10-31 05:22:28 +0000 |
commit | 5964b664538e9bf6937cc7187d810b8589b30e7f (patch) | |
tree | aa07a019dcb84185e733bf4e08ac1c978fac530b /src/m/mips.h | |
parent | 2017bc3de90c0bf81bc2f25b3f9a33a2008d57dd (diff) | |
download | emacs-5964b664538e9bf6937cc7187d810b8589b30e7f.tar.gz |
(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
Used new names for those macros in all references.
Diffstat (limited to 'src/m/mips.h')
-rw-r--r-- | src/m/mips.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/m/mips.h b/src/m/mips.h index 690a13b9eae..f24abde9901 100644 --- a/src/m/mips.h +++ b/src/m/mips.h @@ -27,15 +27,6 @@ Use m-mips4.h for RISCOS version 4; use s-bsd4-3.h with the BSD world. Note that the proper m- file for the Decstation is m-pmax.h. NOTE-END */ -/* 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 32 /* Number of bits in a long */ - /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word is the most significant byte. */ @@ -169,17 +160,17 @@ NOTE-END */ /* The standard definitions of these macros would work ok, but these are faster because the constants are short. */ -#define XUINT(a) (((unsigned)(a) << (INTBITS-VALBITS)) >> (INTBITS-VALBITS)) +#define XUINT(a) (((unsigned)(a) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS)) #define XSET(var, type, ptr) \ ((var) = \ ((int)(type) << VALBITS) \ - + (((unsigned) (ptr) << (INTBITS-VALBITS)) >> (INTBITS-VALBITS))) + + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))) #define XUNMARK(a) \ ((a) = \ - (((unsigned)(a) << (INTBITS-GCTYPEBITS-VALBITS)) \ - >> (INTBITS-GCTYPEBITS-VALBITS))) + (((unsigned)(a) << (BITS_PER_INT-GCTYPEBITS-VALBITS)) \ + >> (BITS_PER_INT-GCTYPEBITS-VALBITS))) #ifndef NEWSOS5 #ifdef USG |