diff options
Diffstat (limited to 'includes/HsFFI.h')
-rw-r--r-- | includes/HsFFI.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/HsFFI.h b/includes/HsFFI.h index f489be5623..dceabab86f 100644 --- a/includes/HsFFI.h +++ b/includes/HsFFI.h @@ -100,9 +100,11 @@ typedef void* HsStablePtr; #if SIZEOF_VOID_P == 8 #define HS_INT_MIN __INT64_MIN #define HS_INT_MAX __INT64_MAX +#define HS_WORD_MAX __UINT64_MAX #elif SIZEOF_VOID_P == 4 #define HS_INT_MIN __INT32_MIN #define HS_INT_MAX __INT32_MAX +#define HS_WORD_MAX __UINT32_MAX #else #error GHC untested on this architecture: sizeof(void *) != 4 or 8 #endif |