mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-09 22:12:39 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user