From 9e1ec09027a4caf900a5d9b52baf43a16eccad01 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Fri, 22 Dec 2023 11:02:05 +0100 Subject: [PATCH] test 128 bit integer support (github issue #125) --- libbf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbf.h b/libbf.h index 48e9d95..0457c18 100644 --- a/libbf.h +++ b/libbf.h @@ -27,7 +27,7 @@ #include #include -#if INTPTR_MAX >= INT64_MAX +#if defined(__SIZEOF_INT128__) && (INTPTR_MAX >= INT64_MAX) #define LIMB_LOG2_BITS 6 #else #define LIMB_LOG2_BITS 5