Index: base/compiler_specific.h |
diff --git a/base/compiler_specific.h b/base/compiler_specific.h |
index 402bc5ddb691d1b030cfd029f3e0eb33dc2a107d..1cfb4e908abc7eeda28e48396fc54b55457405fd 100644 |
--- a/base/compiler_specific.h |
+++ b/base/compiler_specific.h |
@@ -113,11 +113,7 @@ |
// Return the byte alignment of the given type (available at compile time). |
// Use like: |
// ALIGNOF(int32) // this would be 4 |
-#if defined(COMPILER_MSVC) |
-#define ALIGNOF(type) __alignof(type) |
-#elif defined(COMPILER_GCC) |
-#define ALIGNOF(type) __alignof__(type) |
-#endif |
+#define ALIGNOF(type) alignof(type) |
// Annotate a function indicating the caller must examine the return value. |
// Use like: |