aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/Manual.hxx7
1 files changed, 1 insertions, 6 deletions
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 T>
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