mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05: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
1 changed files with 2 additions and 1 deletions
|
|
@ -381,8 +381,9 @@ struct eb_node {
|
|||
short unsigned int pfx; /* data prefix length, always related to leaf */
|
||||
}
|
||||
#ifdef HA_UNALIGNED
|
||||
__attribute__((packed));
|
||||
__attribute__((packed))
|
||||
#endif
|
||||
;
|
||||
|
||||
/* Return the structure of type <type> whose member <member> points to <ptr> */
|
||||
#define eb_entry(ptr, type, member) container_of(ptr, type, member)
|
||||
|
|
|
|||
Loading…
Reference in a new issue