Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index c10881981abf7e1276d69184bdfa99f92121475e..efe3528e56ae76f7848857478872ecfbfb447309 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -51,7 +51,7 @@ |
#else // V8_OS_WIN |
// Setup for Linux shared library export. |
-#if V8_HAS_ATTRIBUTE_VISIBILITY && defined(V8_SHARED) |
+#if V8_HAS_ATTRIBUTE_VISIBILITY |
# ifdef BUILDING_V8_SHARED |
# define V8_EXPORT __attribute__ ((visibility("default"))) |
# else |