Fix build when bignum extensions are not enabled

This commit is contained in:
Saúl Ibarra Corretgé 2023-11-02 09:36:35 +01:00
parent 6d7fd42aae
commit 79f3bbc215

2
qjs.c
View file

@ -454,8 +454,10 @@ int main(int argc, char **argv)
}
}
#ifdef CONFIG_BIGNUM
if (load_jscalc)
bignum_ext = 1;
#endif
if (trace_memory) {
js_trace_malloc_init(&trace_data);