Index: ppapi/shared_impl/ppapi_shared_export.h |
diff --git a/ppapi/shared_impl/ppapi_shared_export.h b/ppapi/shared_impl/ppapi_shared_export.h |
index fb3c03659b9e7f7d4f0b0e4f39a14b0d38934eda..b33ae49fe4c441e1ca99c31c8fe45d1c351d66f9 100644 |
--- a/ppapi/shared_impl/ppapi_shared_export.h |
+++ b/ppapi/shared_impl/ppapi_shared_export.h |
@@ -16,7 +16,11 @@ |
#endif // defined(PPAPI_SHARED_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(PPAPI_SHARED_IMPLEMENTATION) |
#define PPAPI_SHARED_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define PPAPI_SHARED_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |