diff options
-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 |