aboutsummaryrefslogtreecommitdiffstats
path: root/common/align.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-17 19:52:54 -0800
committerChris Robinson <[email protected]>2018-11-17 19:52:54 -0800
commitd10301c209a1194741d442a44cc4c0d819803144 (patch)
tree455d2093fd6ad5bc261ed208c7b70d44192717ed /common/align.h
parent1ac41d3ea03aed456a94187bf8e0381eeb4168e6 (diff)
Remove unused headers and checks
Diffstat (limited to 'common/align.h')
-rw-r--r--common/align.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/common/align.h b/common/align.h
deleted file mode 100644
index 53a5806a..00000000
--- a/common/align.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef AL_ALIGN_H
-#define AL_ALIGN_H
-
-#if defined(HAVE_STDALIGN_H) && defined(HAVE_C11_ALIGNAS)
-#include <stdalign.h>
-#endif
-
-#if !defined(alignas) && !defined(__cplusplus)
-#if defined(HAVE_C11_ALIGNAS)
-#define alignas _Alignas
-#else
-/* NOTE: Our custom ALIGN macro can't take a type name like alignas can. For
- * maximum compatibility, only provide constant integer values to alignas. */
-#define alignas(_x) ALIGN(_x)
-#endif
-#endif
-
-#endif /* AL_ALIGN_H */