Skip to content

Commit b092a70

Browse files
committed
Fix for macos
1 parent 099f587 commit b092a70

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

hsjscore.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,27 @@
2828
#undef __clang__
2929
#endif
3030

31+
#ifndef __has_builtin
32+
#undef __has_builtin
33+
#endif
34+
#define __has_builtin(x) 0
35+
#ifndef __has_include
36+
#undef __has_include
37+
#endif
38+
#define __has_include(x) 0
39+
#ifndef __has_feature
40+
#undef __has_feature
41+
#endif
42+
#define __has_feature(x) 0
43+
#ifndef __has_attribute
44+
#undef __has_attribute
45+
#endif
46+
#define __has_attribute(x) 0
47+
#ifndef __has_extension
48+
#undef __has_extension
49+
#endif
50+
#define __has_extension(x) 0
51+
3152
#ifndef JSC_API_AVAILABLE
3253
#define JSC_API_AVAILABLE(...)
3354
#endif

webkit2gtk3-javascriptcore.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: webkit2gtk3-javascriptcore
2-
Version: 0.14.4.2
2+
Version: 0.14.4.3
33
Synopsis: JavaScriptCore FFI from webkitgtk
44
Description: FFI for JavaScriptCore module from webkitgtk
55
License: BSD3

0 commit comments

Comments
 (0)