summaryrefslogtreecommitdiff
path: root/libguile/conv-uinteger.i.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-06-17 19:21:42 +0200
committerAndy Wingo <wingo@pobox.com>2018-06-17 19:21:42 +0200
commit7b4ab0895b51f21d9f15581d2407861bac986231 (patch)
treef9664801173edaae821caaf8e597ab7fa65d521d /libguile/conv-uinteger.i.c
parentea3c5cf9099741869043c56bc57f48c46976dc79 (diff)
downloadguile-7b4ab0895b51f21d9f15581d2407861bac986231.tar.gz
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.
Diffstat (limited to 'libguile/conv-uinteger.i.c')
-rw-r--r--libguile/conv-uinteger.i.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/conv-uinteger.i.c b/libguile/conv-uinteger.i.c
index f62dc41ad..2414b74b0 100644
--- a/libguile/conv-uinteger.i.c
+++ b/libguile/conv-uinteger.i.c
@@ -95,7 +95,7 @@ SCM_TO_TYPE_PROTO (SCM val)
SCM
SCM_FROM_TYPE_PROTO (TYPE val)
{
-#if SIZEOF_TYPE != 0 && SIZEOF_TYPE < SIZEOF_SCM_T_BITS
+#if SIZEOF_TYPE != 0 && SIZEOF_TYPE < SIZEOF_UINTPTR_T
return SCM_I_MAKINUM (val);
#else
if (SCM_POSFIXABLE (val))