1
0
mirror of https://github.com/OlafvdSpek/ctemplate.git synced 2025-09-28 19:05:49 +08:00

Noop, it looks like.

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3428
This commit is contained in:
csilvers+ctemplate@google.com 2011-10-07 21:30:27 +00:00
parent f89df1dacd
commit 44c56df8eb

View File

@ -67,7 +67,8 @@ template<int size> struct AlignType<0, size> { typedef char result[size]; };
#if defined(COMPILER_MSVC)
#define UTIL_GTL_ALIGN_ATTRIBUTE(X) __declspec(align(X))
#define UTIL_GTL_ALIGN_OF(T) __alignof(T)
#elif defined(COMPILER_GCC3) || defined(OS_MACOSX) || defined(COMPILER_ICC)
#elif defined(COMPILER_GCC3) || defined(OS_MACOSX) || defined(COMPILER_ICC) \
|| defined(OS_NACL)
#define UTIL_GTL_ALIGN_ATTRIBUTE(X) __attribute__((aligned(X)))
#define UTIL_GTL_ALIGN_OF(T) __alignof__(T)
#endif