about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/quickjs/libbf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quickjs/libbf.h b/lib/quickjs/libbf.h
index 48e9d956..0457c180 100644
--- a/lib/quickjs/libbf.h
+++ b/lib/quickjs/libbf.h
@@ -27,7 +27,7 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#if INTPTR_MAX >= INT64_MAX
+#if defined(__SIZEOF_INT128__) && (INTPTR_MAX >= INT64_MAX)
 #define LIMB_LOG2_BITS 6
 #else
 #define LIMB_LOG2_BITS 5