1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

* src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23764)

This commit is contained in:
Glenn Morris 2016-06-14 13:39:30 -04:00
parent f526191719
commit 27dec5264f

View File

@ -468,6 +468,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 *