1
0
mirror of https://github.com/OlafvdSpek/ctemplate.git synced 2025-10-05 19:16:54 +08:00

Noop, it looks like.

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3427
This commit is contained in:
csilvers+ctemplate@google.com 2011-10-07 21:29:48 +00:00
parent 640ca19b46
commit f89df1dacd

View File

@ -67,7 +67,7 @@ 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(COMPILER_ICC)
#elif defined(COMPILER_GCC3) || defined(OS_MACOSX) || defined(COMPILER_ICC)
#define UTIL_GTL_ALIGN_ATTRIBUTE(X) __attribute__((aligned(X)))
#define UTIL_GTL_ALIGN_OF(T) __alignof__(T)
#endif