Chromium Code Reviews

Unified Diff: ipc/ipc_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.
Jump to:
View side-by-side diff with in-line comments
Index: ipc/ipc_export.h
diff --git a/ipc/ipc_export.h b/ipc/ipc_export.h
index f6c382a9794d68bd4e64e419f7811bffc866b4e9..3c658db63233d2e5f0d88db23b3b2aa4efd0d1b5 100644
--- a/ipc/ipc_export.h
+++ b/ipc/ipc_export.h
@@ -19,7 +19,11 @@
#endif // defined(IPC_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(IPC_IMPLEMENTATION)
#define IPC_EXPORT __attribute__((visibility("default")))
+#else
+#define IPC_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)
« no previous file with comments | « gpu/gpu_export.h ('k') | media/base/media_export.h » ('j') | ui/aura/aura_export.h » ('J')

Powered by Google App Engine