File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 17
17
* Boston, MA 02110-1301, USA.
18
18
*/
19
19
20
+ #ifndef HS_WEBKITJAVASCRIPTCORE_H
21
+ #define HS_WEBKITJAVASCRIPTCORE_H
22
+
20
23
#ifdef __BLOCKS__
21
24
#undef __BLOCKS__
22
25
#endif
23
- #ifndef HS_WEBKITJAVASCRIPTCORE_H
24
- #define HS_WEBKITJAVASCRIPTCORE_H
26
+
27
+ #ifdef __clang__
28
+ #undef __clang__
29
+ #endif
30
+
31
+ #ifndef JSC_API_AVAILABLE
32
+ #define JSC_API_AVAILABLE (...)
33
+ #endif
34
+
25
35
/* to avoid stdbool.h error in JavaScriptCore/JSBase.h*/
26
36
#define _Bool unsigned char // unsigned short // previously, int
27
37
Original file line number Diff line number Diff line change 1
1
Name : webkit2gtk3-javascriptcore
2
- Version : 0.14.4.1
2
+ Version : 0.14.4.2
3
3
Synopsis : JavaScriptCore FFI from webkitgtk
4
4
Description : FFI for JavaScriptCore module from webkitgtk
5
5
License : BSD3
@@ -52,6 +52,6 @@ Library
52
52
include-dirs : .
53
53
cpp-options : -DDISABLE_DEPRECATED -U__BLOCKS__ -DGLIB_DISABLE_DEPRECATION_WARNINGS
54
54
if os(darwin) || os(freebsd)
55
- cpp-options : -D_Nullable= -D_Nonnull= -D_Noreturn=
55
+ cpp-options : -D_Nullable= -D_Nonnull= -D_Noreturn= -D__attribute__(x)=
56
56
x-c2hs-Header : hsjscore.h
57
57
pkgconfig-depends : webkit2gtk-4.0 >= 1.1.15
You can’t perform that action at this time.
0 commit comments