summaryrefslogtreecommitdiff
path: root/src/m/hp800.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-10-31 05:22:28 +0000
committerKarl Heuer <kwzh@gnu.org>1995-10-31 05:22:28 +0000
commit5964b664538e9bf6937cc7187d810b8589b30e7f (patch)
treeaa07a019dcb84185e733bf4e08ac1c978fac530b /src/m/hp800.h
parent2017bc3de90c0bf81bc2f25b3f9a33a2008d57dd (diff)
downloademacs-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/hp800.h')
-rw-r--r--src/m/hp800.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/m/hp800.h b/src/m/hp800.h
index ea3f012d586..1c3439e1c03 100644
--- a/src/m/hp800.h
+++ b/src/m/hp800.h
@@ -22,15 +22,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
operating system this machine is likely to run.
USUAL-OPSYS="hpux" */
-/* 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. */
@@ -133,16 +124,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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))
+ ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS))
#define XMARKBIT(a) ((a) < 0)
#define XSETMARKBIT(a,b) ((a) = ((b) ? (a)|MARKBIT : (a) & ~MARKBIT))
#if 0 /* Loses when sign bit of type field is set. */
-#define XUNMARK(a) ((a) = (((a) << INTBITS-GCTYPEBITS-VALBITS) >> INTBITS-GCTYPEBITS-VALBITS))
+#define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
#endif
/* The symbol in the kernel where the load average is found