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

Unified Diff: plugin/cross/main.h

Issue 160317: linux: unexport as many symbols as possible (Closed)
Patch Set: Created 11 years, 5 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
« no previous file with comments | « main.scons ('k') | plugin/cross/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugin/cross/main.h
diff --git a/plugin/cross/main.h b/plugin/cross/main.h
index 29e386a70b1f5d8edb95c9c013a9f57ebc763849..049c688468817e7d3d56a5e651adcdd3b56aaeeb 100644
--- a/plugin/cross/main.h
+++ b/plugin/cross/main.h
@@ -59,6 +59,12 @@
#define HANDLE_CRASHES void(0)
#else // O3D_INTERNAL_PLUGIN
+#if defined(OS_LINUX)
+#define EXPORT_SYMBOL __attribute__((visibility ("default")))
+#else
+#define EXPORT_SYMBOL
+#endif
+
extern ExceptionManager *g_exception_manager;
// BreakpadEnabler is a simple class to keep track of whether or not
« no previous file with comments | « main.scons ('k') | plugin/cross/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698