1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-15 23:35:34 +00:00

[mozjs] up to 78

It compiles.
This commit is contained in:
Witold Filipczyk 2021-08-30 21:03:26 +02:00
parent 7f572e7e4a
commit b112650706
2 changed files with 3 additions and 1 deletions

View File

@ -252,7 +252,7 @@ if conf_data.get('CONFIG_BZIP2')
endif
if conf_data.get('CONFIG_ECMASCRIPT')
mozjsdeps = dependency('mozjs-68')
mozjsdeps = dependency('mozjs-78')
deps += mozjsdeps
sqlite3deps = dependency('sqlite3')
deps += sqlite3deps

View File

@ -154,6 +154,7 @@ PrintError(JSContext* cx, FILE* file, JS::ConstUTF8CharsZ toStringResult,
static void
error_reporter(JSContext *ctx, JSErrorReport *report)
{
#if 0
JS::Realm *comp = js::GetContextRealm(ctx);
if (!comp) {
@ -205,6 +206,7 @@ error_reporter(JSContext *ctx, JSErrorReport *report)
reported:
/* Im clu'les. --pasky */
JS_ClearPendingException(ctx);
#endif
}
static void