Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: ppapi/shared_impl/ppapi_shared_export.h

Issue 10386108: Change the way _EXPORT macros look. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698