X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FPortability.h;h=b41893b59a017223bad2e590a8954495b945ad79;hp=11eb8f82b16ed9f3f580aad406547b524dc490c3;hb=c98de6b2ecb4b4855fe6ce152329dc74eaae4710;hpb=5ad17f0715288d08e0db580c90b7bf8716ddfd99 diff --git a/folly/Portability.h b/folly/Portability.h index 11eb8f82..b41893b5 100644 --- a/folly/Portability.h +++ b/folly/Portability.h @@ -34,14 +34,6 @@ constexpr bool kHasUnalignedAccess = false; // compiler specific attribute translation // msvc should come first, so if clang is in msvc mode it gets the right defines -#if defined(__clang__) || defined(__GNUC__) -# define FOLLY_ALIGNED(size) __attribute__((__aligned__(size))) -#elif defined(_MSC_VER) -# define FOLLY_ALIGNED(size) __declspec(align(size)) -#else -# error Cannot define FOLLY_ALIGNED on this platform -#endif - // NOTE: this will only do checking in msvc with versions that support /analyze #if _MSC_VER # ifdef _USE_ATTRIBUTES_FOR_SAL