* src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23764)
This commit is contained in:
parent
f526191719
commit
27dec5264f
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue