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

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

Issue 714393002: Remove support for MSVC (Closed) Base URL: git@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/Alignment.h
diff --git a/sky/engine/wtf/Alignment.h b/sky/engine/wtf/Alignment.h
index 4a028c45a92dd6083342a8b5fac1d1c45d018fbb..f21077b4fa01e491d436ae0896f5102285455ba2 100644
--- a/sky/engine/wtf/Alignment.h
+++ b/sky/engine/wtf/Alignment.h
@@ -30,9 +30,6 @@ namespace WTF {
#if COMPILER(GCC)
#define WTF_ALIGN_OF(type) __alignof__(type)
#define WTF_ALIGNED(variable_type, variable, n) variable_type variable __attribute__((__aligned__(n)))
-#elif COMPILER(MSVC)
- #define WTF_ALIGN_OF(type) __alignof(type)
- #define WTF_ALIGNED(variable_type, variable, n) __declspec(align(n)) variable_type variable
#else
#error WTF_ALIGN macros need alignment control.
#endif

Powered by Google App Engine
This is Rietveld 408576698