Chromium Code Reviews

Unified Diff: webkit/appcache/appcache_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: webkit/appcache/appcache_export.h
diff --git a/webkit/appcache/appcache_export.h b/webkit/appcache/appcache_export.h
index ece56ee088b364d439ae08548ff3ad5981b79433..aab6054fb166eadf79e9c98cf5d8863da6b44119 100644
--- a/webkit/appcache/appcache_export.h
+++ b/webkit/appcache/appcache_export.h
@@ -16,7 +16,11 @@
#endif // defined(APPCACHE_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(APPCACHE_IMPLEMENTATION)
#define APPCACHE_EXPORT __attribute__((visibility("default")))
+#else
+#define APPCACHE_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)
« ui/aura/aura_export.h ('K') | « ui/views/views_export.h ('k') | webkit/blob/blob_export.h » ('j') | no next file with comments »

Powered by Google App Engine