From 7b4ab0895b51f21d9f15581d2407861bac986231 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 17 Jun 2018 19:21:42 +0200 Subject: Inline definition of SIZEOF_SCM_T_BITS * libguile/_scm.h (SIZEOF_SCM_T_BITS): Remove definition. * libguile/conv-integer.i.c (SCM_TO_TYPE_PROTO, SCM_FROM_TYPE_PROTO): * libguile/conv-uinteger.i.c (SCM_FROM_TYPE_PROTO): * libguile/gc.c (DEFAULT_INITIAL_HEAP_SIZE): * libguile/hashtab.c: * libguile/loader.c: * libguile/socket.c: * libguile/vm-engine.c (VM_NAME): Use SIZEOF_UINTPTR_T instead of SIZEOF_SCM_T_BITS. --- libguile/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libguile/gc.c') diff --git a/libguile/gc.c b/libguile/gc.c index cf81b3ca9..0551e9c45 100644 --- a/libguile/gc.c +++ b/libguile/gc.c @@ -66,7 +66,7 @@ result of 'guile -c "(display (assq-ref (gc-stats) 'heap-total-allocated))"'. */ -#define DEFAULT_INITIAL_HEAP_SIZE (128 * 1024 * SIZEOF_SCM_T_BITS) +#define DEFAULT_INITIAL_HEAP_SIZE (128 * 1024 * SIZEOF_UINTPTR_T) /* Set this to != 0 if every cell that is accessed shall be checked: */ -- cgit v1.2.3