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:
parent
7f572e7e4a
commit
b112650706
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user