mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 17:50:29 +02:00
(SIZEOF_SCM_T_BITS): Define it appropriately.
This commit is contained in:
parent
3d2e8ceb97
commit
08ae876872
1 changed files with 2 additions and 0 deletions
|
@ -65,12 +65,14 @@
|
|||
#ifdef HAVE_UINTPTR_T
|
||||
typedef uintptr_t scm_t_bits;
|
||||
typedef intptr_t scm_t_signed_bits;
|
||||
#define SIZEOF_SCM_T_BITS SIZEOF_UINTPTR_T
|
||||
#define SCM_T_BITS_MAX UINTPTR_MAX
|
||||
#define SCM_T_SIGNED_BITS_MAX INTPTR_MAX
|
||||
#define SCM_T_SIGNED_BITS_MIN INTPTR_MIN
|
||||
#else
|
||||
typedef unsigned long scm_t_bits;
|
||||
typedef signed long scm_t_signed_bits;
|
||||
#define SIZEOF_SCM_T_BITS SIZEOF_LONG
|
||||
#define SCM_T_BITS_MAX ULONG_MAX
|
||||
#define SCM_T_SIGNED_BITS_MAX LONG_MAX
|
||||
#define SCM_T_SIGNED_BITS_MIN LONG_MIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue