comparison lang/mozjs52/patch-clang.patch @ 489:ba543d44b357

lang/mozjs52: initial import, closes #1580
author David Demelier <markand@malikania.fr>
date Sun, 07 Apr 2019 14:37:20 +0200
parents
children
comparison
equal deleted inserted replaced
488:a766a7ab4d35 489:ba543d44b357
1 Proposed workaround/fix for:
2 https://bugzilla.mozilla.org/show_bug.cgi?id=1426865
3
4 diff --git a/js/public/TypeDecls.h b/js/public/TypeDecls.h
5 index acb93f9..cbd4b04 100644
6 --- js/public/TypeDecls.h
7 +++ js/public/TypeDecls.h
8 @@ -22,6 +22,8 @@
9
10 #include "js-config.h"
11
12 +#pragma GCC visibility push(default)
13 +
14 struct JSContext;
15 class JSFunction;
16 class JSObject;
17 @@ -76,4 +78,6 @@ typedef PersistentRooted<Value> PersistentRootedValue;
18
19 } // namespace JS
20
21 +#pragma GCC visibility pop
22 +
23 #endif /* js_TypeDecls_h */