From 1e073a196fa011e1581ebe8ead3823f8322257ca Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 9 Dec 2014 23:05:47 +0100 Subject: util/Manual: use gcc_alignas() --- src/util/Manual.hxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/util') diff --git a/src/util/Manual.hxx b/src/util/Manual.hxx index 153851aba..dd5b7e02f 100644 --- a/src/util/Manual.hxx +++ b/src/util/Manual.hxx @@ -54,12 +54,7 @@ */ template class Manual { -#if GCC_OLDER_THAN(4,8) - /* no alignas() on gcc < 4.8: apply worst-case fallback */ - __attribute__((aligned(8))) -#else - alignas(T) -#endif + gcc_alignas(T, 8) char data[sizeof(T)]; #ifndef NDEBUG -- cgit v1.2.3