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

Unified Diff: sky/engine/wtf/WTFExport.h

Issue 719063002: Revert "Remove support for MSVC" (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/wtf/WTFExport.h
diff --git a/sky/engine/wtf/WTFExport.h b/sky/engine/wtf/WTFExport.h
index 06f4abc434a83043940d150082ad8c94e5e74ae3..3fbe52d447bd7db209edf2c8b85fd482336419c2 100644
--- a/sky/engine/wtf/WTFExport.h
+++ b/sky/engine/wtf/WTFExport.h
@@ -37,7 +37,15 @@
#endif
#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+#if WTF_IMPLEMENTATION
+#define WTF_EXPORT __declspec(dllexport)
+#else
+#define WTF_EXPORT __declspec(dllimport)
+#endif
+#else // defined(WIN32)
#define WTF_EXPORT __attribute__((visibility("default")))
+#endif
#else // defined(COMPONENT_BUILD)
#define WTF_EXPORT
#endif

Powered by Google App Engine
This is Rietveld 408576698