| Index: runtime/include/dart_api.h
|
| diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
|
| index 6665e0a010ee62ece628e7c82ad2953d58158cbe..fe232387efd837321cedca2e4ee88b36b92391ec 100755
|
| --- a/runtime/include/dart_api.h
|
| +++ b/runtime/include/dart_api.h
|
| @@ -54,7 +54,8 @@ typedef unsigned __int64 uint64_t;
|
| #include <stdbool.h>
|
| #if __GNUC__ >= 4
|
| #if defined(DART_SHARED_LIB)
|
| -#define DART_EXPORT DART_EXTERN_C __attribute__ ((visibility("default")))
|
| +#define DART_EXPORT DART_EXTERN_C __attribute__ ((visibility("default"))) \
|
| + __attribute((used))
|
| #else
|
| #define DART_EXPORT DART_EXTERN_C
|
| #endif
|
|
|