This repository was archived by the owner on Nov 15, 2022. It is now read-only.
File tree 4 files changed +16
-4
lines changed
4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ genrule {
20
20
tool_files : [" gen_ffi_header.sh" ],
21
21
}
22
22
23
- cc_library_static {
23
+ cc_library {
24
24
name : " libffi" ,
25
25
host_supported : true ,
26
26
vendor_available : true ,
Original file line number Diff line number Diff line change 41
41
#define HAVE_DLFCN_H 1
42
42
43
43
/* Define if __attribute__((visibility("hidden"))) is supported. */
44
- #undef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
44
+ #define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1
45
45
46
46
/* Define to 1 if you have the <inttypes.h> header file. */
47
47
#define HAVE_INTTYPES_H 1
146
146
147
147
#ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
148
148
#ifdef LIBFFI_ASM
149
+ #ifdef __APPLE__
150
+ #define FFI_HIDDEN (name ) .private_extern name
151
+ #else
149
152
#define FFI_HIDDEN (name ) .hidden name
153
+ #endif
150
154
#else
151
155
#define FFI_HIDDEN __attribute__ ((visibility ("hidden")))
152
156
#endif
Original file line number Diff line number Diff line change 41
41
#define HAVE_DLFCN_H 1
42
42
43
43
/* Define if __attribute__((visibility("hidden"))) is supported. */
44
- #undef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
44
+ #define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1
45
45
46
46
/* Define to 1 if you have the <inttypes.h> header file. */
47
47
#define HAVE_INTTYPES_H 1
146
146
147
147
#ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
148
148
#ifdef LIBFFI_ASM
149
+ #ifdef __APPLE__
150
+ #define FFI_HIDDEN (name ) .private_extern name
151
+ #else
149
152
#define FFI_HIDDEN (name ) .hidden name
153
+ #endif
150
154
#else
151
155
#define FFI_HIDDEN __attribute__ ((visibility ("hidden")))
152
156
#endif
Original file line number Diff line number Diff line change 41
41
#define HAVE_DLFCN_H 1
42
42
43
43
/* Define if __attribute__((visibility("hidden"))) is supported. */
44
- #undef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
44
+ #define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1
45
45
46
46
/* Define to 1 if you have the <inttypes.h> header file. */
47
47
#define HAVE_INTTYPES_H 1
146
146
147
147
#ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
148
148
#ifdef LIBFFI_ASM
149
+ #ifdef __APPLE__
150
+ #define FFI_HIDDEN (name ) .private_extern name
151
+ #else
149
152
#define FFI_HIDDEN (name ) .hidden name
153
+ #endif
150
154
#else
151
155
#define FFI_HIDDEN __attribute__ ((visibility ("hidden")))
152
156
#endif
You can’t perform that action at this time.
0 commit comments