Index: ppapi/thunk/ppapi_thunk_export.h |
diff --git a/ppapi/thunk/ppapi_thunk_export.h b/ppapi/thunk/ppapi_thunk_export.h |
index cbecccd786016c6dfce433ab30060d34f5da9c1d..de3d38dc53a8f435cdf88b449818f60482a16fca 100644 |
--- a/ppapi/thunk/ppapi_thunk_export.h |
+++ b/ppapi/thunk/ppapi_thunk_export.h |
@@ -16,7 +16,11 @@ |
#endif // defined(PPAPI_THUNK_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(PPAPI_THUNK_IMPLEMENTATION) |
#define PPAPI_THUNK_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define PPAPI_THUNK_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |