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:
parent
f526191719
commit
27dec5264f
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user