summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 3feed51b1e..8173615992 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -486,6 +486,11 @@ static void *pure_alloc (size_t, int);
? ((x) + (y) - 1) - ((x) + (y) - 1) % (y) \
: ((x) + (y) - 1) & ~ ((y) - 1))
+/* Bug#23764 */
+#ifdef ALIGN
+# undef ALIGN
+#endif
+
/* Return PTR rounded up to the next multiple of ALIGNMENT. */
static void *