1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Fixes memory alignment problems on Sparc64.

Not quite standard construction, i should add
some autoconf macro.

Not tested yet.
This commit is contained in:
Ondrej Zajicek
2009-07-06 19:07:01 +02:00
parent 2389c46fe3
commit d1abbeacfb
3 changed files with 3 additions and 0 deletions

View File

@@ -250,6 +250,7 @@ resource_init(void)
struct mblock {
resource r;
unsigned size;
uintptr_t data_align[0];
byte data[0];
};