summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-10-31 02:34:16 +0000
committerKarl Heuer <kwzh@gnu.org>1995-10-31 02:34:16 +0000
commitbc86915f966235c7d6cc0a9b4f7a85c108d9dc7d (patch)
tree04f9ae6e0b7182c65e72dad124d83c684a17a92b /src/alloc.c
parent2067568b3583007f03440ae32825e93bfaa76d44 (diff)
downloademacs-bc86915f966235c7d6cc0a9b4f7a85c108d9dc7d.tar.gz
(BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
Rename from SHORTBITS, INTBITS, LONGBITS.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 002dc51ddb9..978174360b2 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1091,7 +1091,7 @@ Both LENGTH and INIT must be numbers. INIT matters only in whether it is t or n
CHECK_NATNUM (length, 0);
- bits_per_value = sizeof (EMACS_INT) * INTBITS / sizeof (int);
+ bits_per_value = sizeof (EMACS_INT) * BITS_PER_CHAR;
length_in_elts = (XFASTINT (length) + bits_per_value - 1) / bits_per_value;
length_in_chars = length_in_elts * sizeof (EMACS_INT);
@@ -1428,7 +1428,7 @@ inhibit_garbage_collection ()
{
int count = specpdl_ptr - specpdl;
Lisp_Object number;
- int nbits = min (VALBITS, INTBITS);
+ int nbits = min (VALBITS, BITS_PER_INT);
XSETINT (number, ((EMACS_INT) 1 << (nbits - 1)) - 1);