diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index 3feed51b1e9..8173615992f 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -486,6 +486,11 @@ static void *pure_alloc (size_t, int); | |||
| 486 | ? ((x) + (y) - 1) - ((x) + (y) - 1) % (y) \ | 486 | ? ((x) + (y) - 1) - ((x) + (y) - 1) % (y) \ |
| 487 | : ((x) + (y) - 1) & ~ ((y) - 1)) | 487 | : ((x) + (y) - 1) & ~ ((y) - 1)) |
| 488 | 488 | ||
| 489 | /* Bug#23764 */ | ||
| 490 | #ifdef ALIGN | ||
| 491 | # undef ALIGN | ||
| 492 | #endif | ||
| 493 | |||
| 489 | /* Return PTR rounded up to the next multiple of ALIGNMENT. */ | 494 | /* Return PTR rounded up to the next multiple of ALIGNMENT. */ |
| 490 | 495 | ||
| 491 | static void * | 496 | static void * |