| Index: include/v8-testing.h
|
| diff --git a/include/v8-testing.h b/include/v8-testing.h
|
| index 245f74d878d9464708f9c890407e388dd2e6ddb3..59eebf9db47774b5a83b208f91badcf282b80f90 100644
|
| --- a/include/v8-testing.h
|
| +++ b/include/v8-testing.h
|
| @@ -50,11 +50,12 @@
|
|
|
| // Setup for Linux shared library export. See v8.h in this directory for
|
| // information on how to build/use V8 as shared library.
|
| -#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(V8_SHARED)
|
| +#if defined(__GNUC__) && ((__GNUC__ >= 4) || \
|
| + (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(V8_SHARED)
|
| #define V8EXPORT __attribute__ ((visibility("default")))
|
| -#else // defined(__GNUC__) && (__GNUC__ >= 4)
|
| +#else
|
| #define V8EXPORT
|
| -#endif // defined(__GNUC__) && (__GNUC__ >= 4)
|
| +#endif
|
|
|
| #endif // _WIN32
|
|
|
|
|