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-siemens.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-siemens.h')
-rw-r--r-- | src/m/mips-siemens.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/m/mips-siemens.h b/src/m/mips-siemens.h index 3ac87ae4ec9..5ba3db21431 100644 --- a/src/m/mips-siemens.h +++ b/src/m/mips-siemens.h @@ -34,15 +34,6 @@ This is the m- file for SNI RM*00 machines. Use s- sinix5-4.h file! With this the file mips-siemens.h is obsolete. 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 BIG_ENDIAN iff lowest-numbered byte in a word is the most significant byte. */ @@ -177,12 +168,12 @@ 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 XSETINT(a, b) XSET(a, XTYPE(a), b) #define XSETUINT(a, b) XSET(a, XTYPE(a), b) @@ -190,6 +181,6 @@ NOTE-END */ #define XUNMARK(a) \ ((a) = \ - (((unsigned)(a) << (INTBITS-GCTYPEBITS-VALBITS)) \ - >> (INTBITS-GCTYPEBITS-VALBITS))) + (((unsigned)(a) << (BITS_PER_INT-GCTYPEBITS-VALBITS)) \ + >> (BITS_PER_INT-GCTYPEBITS-VALBITS))) |