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

Unified Diff: ppapi/proxy/ppapi_proxy_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/proxy/ppapi_proxy_export.h
diff --git a/ppapi/proxy/ppapi_proxy_export.h b/ppapi/proxy/ppapi_proxy_export.h
index 6bd042177ba968b3d450adc8657876811db808fa..139b5dde3154128894e8dd3d42e9ddc4d793ca34 100644
--- a/ppapi/proxy/ppapi_proxy_export.h
+++ b/ppapi/proxy/ppapi_proxy_export.h
@@ -16,7 +16,11 @@
#endif // defined(PPAPI_PROXY_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(PPAPI_PROXY_IMPLEMENTATION)
#define PPAPI_PROXY_EXPORT __attribute__((visibility("default")))
+#else
+#define PPAPI_PROXY_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)

Powered by Google App Engine
This is Rietveld 408576698