1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00

* socket.c: use SCM_CHAR_BIT.

This commit is contained in:
Rob Browning 2003-04-16 19:45:01 +00:00
parent 0d79003d44
commit 7310ad0ccf

View file

@ -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