mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
BUILD: fix recent build failure on unaligned archs
Last commit 2c315ee ("BUG/MEDIUM: ebtree: don't set attribute packed without unaligned access support") accidently enclosed the semicolon in the ifdef so it will fail when HA_UNALIGNED is not set.
This commit is contained in:
parent
02ac950a11
commit
d43183d05f
@ -381,8 +381,9 @@ struct eb_node {
|
|||||||
short unsigned int pfx; /* data prefix length, always related to leaf */
|
short unsigned int pfx; /* data prefix length, always related to leaf */
|
||||||
}
|
}
|
||||||
#ifdef HA_UNALIGNED
|
#ifdef HA_UNALIGNED
|
||||||
__attribute__((packed));
|
__attribute__((packed))
|
||||||
#endif
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
/* Return the structure of type <type> whose member <member> points to <ptr> */
|
/* Return the structure of type <type> whose member <member> points to <ptr> */
|
||||||
#define eb_entry(ptr, type, member) container_of(ptr, type, member)
|
#define eb_entry(ptr, type, member) container_of(ptr, type, member)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user