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

Unified Diff: Source/wtf/Alignment.h

Issue 14734009: More Compiler.h cleanups. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 7 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 | « no previous file | Source/wtf/Assertions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Alignment.h
diff --git a/Source/wtf/Alignment.h b/Source/wtf/Alignment.h
index 947f02c4acfb708f9f5e5775c381bcffe4e1cdfe..8dbdd94988c5e9ebc3931c58c5787a87cfa850c3 100644
--- a/Source/wtf/Alignment.h
+++ b/Source/wtf/Alignment.h
@@ -28,7 +28,7 @@
namespace WTF {
-#if COMPILER(GCC) || COMPILER(MINGW) || COMPILER(GCCE)
+#if COMPILER(GCC) || COMPILER(MINGW)
#define WTF_ALIGN_OF(type) __alignof__(type)
#define WTF_ALIGNED(variable_type, variable, n) variable_type variable __attribute__((__aligned__(n)))
#elif COMPILER(MSVC)
@@ -38,7 +38,7 @@ namespace WTF {
#error WTF_ALIGN macros need alignment control.
#endif
-#if COMPILER(GCC) && !COMPILER(INTEL) && (((__GNUC__ * 100) + __GNUC_MINOR__) >= 303)
+#if COMPILER(GCC)
typedef char __attribute__((__may_alias__)) AlignedBufferChar;
#else
typedef char AlignedBufferChar;
« no previous file with comments | « no previous file | Source/wtf/Assertions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698