From 89238867f2ce21fde6fe9cdc36f721d0f99cd642 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 17 Jun 2022 18:37:16 +0200 Subject: [PATCH] [js] segfault when spidermonkey nor quickjs were enabled --- src/document/html/parser/general.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/document/html/parser/general.c b/src/document/html/parser/general.c index 1c4cd22f7..051776045 100644 --- a/src/document/html/parser/general.c +++ b/src/document/html/parser/general.c @@ -208,7 +208,7 @@ void html_script(struct html_context *html_context, char *a, char *html, char *eof, char **end) { -#ifdef CONFIG_ECMASCRIPT +#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) /* TODO: