Update libutp. Fixes #5128.
This commit is contained in:
parent
6bebaee639
commit
5b7586f0fa
|
@ -27,6 +27,12 @@
|
|||
#define PACKED_ATTRIBUTE
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define ALIGNED_ATTRIBUTE(x) __attribute__((aligned (x)))
|
||||
#else
|
||||
#define ALIGNED_ATTRIBUTE(x)
|
||||
#endif
|
||||
|
||||
// Utility templates
|
||||
#undef min
|
||||
#undef max
|
||||
|
|
|
@ -194,7 +194,7 @@ struct PACKED_ATTRIBUTE PackedSockAddr {
|
|||
snprintf(i, len - (i-s), ":%u", _port);
|
||||
return s;
|
||||
}
|
||||
};
|
||||
} ALIGNED_ATTRIBUTE(4);
|
||||
|
||||
struct PACKED_ATTRIBUTE RST_Info {
|
||||
PackedSockAddr addr;
|
||||
|
|
Loading…
Reference in New Issue