ports/lang/quickjs/patches/patch-libbf_h

14 lines
258 B
Text

Use more generic test for 64 bits platform.
Index: libbf.h
--- libbf.h.orig
+++ libbf.h
@@ -27,7 +27,7 @@
#include <stddef.h>
#include <stdint.h>
-#if defined(__x86_64__)
+#if defined(__LP64__)
#define LIMB_LOG2_BITS 6
#else
#define LIMB_LOG2_BITS 5