0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[smjs] Compilation fixes when -Dsm-scripting=true and -Dspidermonkey=false. Refs #176

This commit is contained in:
Witold Filipczyk
2022-06-16 17:33:06 +02:00
parent dfa578d7d9
commit 4790ae9981
6 changed files with 13 additions and 11 deletions

View File

@@ -86,7 +86,9 @@ struct ecmascript_interpreter {
#ifdef CONFIG_QUICKJS
JSValueConst fun;
#else
#ifdef CONFIG_ECMASCRIPT_SMJS
JS::RootedValue fun;
#endif
#endif
bool changed;
};