Chromium Code Reviews

Unified Diff: sql/sql_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: sql/sql_export.h
diff --git a/sql/sql_export.h b/sql/sql_export.h
index 92a01cb20edeb1ba855ed08845d099d55371e2c4..f0b1ead8de4af0848581e3d965f103d713604525 100644
--- a/sql/sql_export.h
+++ b/sql/sql_export.h
@@ -16,7 +16,11 @@
#endif // defined(SQL_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(SQL_IMPLEMENTATION)
#define SQL_EXPORT __attribute__((visibility("default")))
+#else
+#define SQL_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)
« no previous file with comments | « printing/printing_export.h ('k') | ui/aura/aura_export.h » ('j') | ui/aura/aura_export.h » ('J')

Powered by Google App Engine