diff options
author | Rob Browning <rlb@defaultvalue.org> | 2003-04-16 19:45:01 +0000 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2003-04-16 19:45:01 +0000 |
commit | 7310ad0ccfd00518d8135a1f5f228a6b5514087c (patch) | |
tree | a1f80d9ce29722b78279cd241327e75b8dc08967 /libguile/socket.c | |
parent | 0d79003d4431139307dcd0c14346d02bb9526ed8 (diff) | |
download | guile-7310ad0ccfd00518d8135a1f5f228a6b5514087c.tar.gz |
* socket.c: use SCM_CHAR_BIT.
Diffstat (limited to 'libguile/socket.c')
-rw-r--r-- | libguile/socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/socket.c b/libguile/socket.c index 4cf91c1a6..6a0bc56a8 100644 --- a/libguile/socket.c +++ b/libguile/socket.c @@ -268,15 +268,15 @@ SCM_DEFINE (scm_inet_makeaddr, "inet-makeaddr", 2, 0, 0, #endif -#if (SIZEOF_SCM_T_BITS * 8) > 128 +#if (SIZEOF_SCM_T_BITS * SCM_CHAR_BIT) > 128 #error "Assumption that scm_t_bits <= 128 bits has been violated." #endif -#if (SIZEOF_UNSIGNED_LONG * 8) > 128 +#if (SIZEOF_UNSIGNED_LONG * SCM_CHAR_BIT) > 128 #error "Assumption that unsigned long <= 128 bits has been violated." #endif -#if (SIZEOF_UNSIGNED_LONG_LONG * 8) > 128 +#if (SIZEOF_UNSIGNED_LONG_LONG * SCM_CHAR_BIT) > 128 #error "Assumption that unsigned long long <= 128 bits has been violated." #endif |