aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 35a5ee2784f..43287457c8d 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -534,8 +534,7 @@ buffer_memory_full (ptrdiff_t nbytes)
534/* Define XMALLOC_OVERRUN_SIZE_SIZE so that (1) it's large enough to 534/* Define XMALLOC_OVERRUN_SIZE_SIZE so that (1) it's large enough to
535 hold a size_t value and (2) the header size is a multiple of the 535 hold a size_t value and (2) the header size is a multiple of the
536 alignment that Emacs needs for C types and for USE_LSB_TAG. */ 536 alignment that Emacs needs for C types and for USE_LSB_TAG. */
537#define XMALLOC_BASE_ALIGNMENT \ 537#define XMALLOC_BASE_ALIGNMENT alignof (max_align_t)
538 alignof (union { long double d; intmax_t i; void *p; })
539 538
540#if USE_LSB_TAG 539#if USE_LSB_TAG
541# define XMALLOC_HEADER_ALIGNMENT \ 540# define XMALLOC_HEADER_ALIGNMENT \