Compiler.h: drop gcc_alignas(), use plain C++11 alignas()

This commit is contained in:
Max Kellermann
2016-11-18 08:52:44 +01:00
parent 2f76f9da89
commit 219a756abc
3 changed files with 5 additions and 13 deletions

View File

@@ -160,14 +160,6 @@
#define gcc_restrict
#endif
/* C++11 features */
#if defined(__cplusplus)
#define gcc_alignas(T, fallback) alignas(T)
#endif
#ifndef __has_feature
// define dummy macro for non-clang compilers
#define __has_feature(x) 0