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 | 29f7c4fb0b784845cd52330b60761d732ca3444b (patch) | |
tree | ac4c411a79e2456a30f1346120a906abaa990115 /src/m/mips.h | |
parent | 19a0d27a6a75d4b4167afca734592d68126b4fa3 (diff) | |
download | emacs-29f7c4fb0b784845cd52330b60761d732ca3444b.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 |