aboutsummaryrefslogtreecommitdiff
path: root/src/ncsi.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-05-31 15:21:04 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2020-07-20 00:21:28 +0400
commitad23813e2f7f5820912b4b1e0d23b2d06ad348bb (patch)
tree8f7ce3d7e2efe9414943b52ce5c37b11a918913e /src/ncsi.c
parent9f2a1cc0fd577668484e77103a3bfde82e894475 (diff)
downloadslirp-ad23813e2f7f5820912b4b1e0d23b2d06ad348bb.zip
slirp-ad23813e2f7f5820912b4b1e0d23b2d06ad348bb.tar.gz
slirp-ad23813e2f7f5820912b4b1e0d23b2d06ad348bb.tar.bz2
Fix win32 builds by using the SLIRP_PACKED definition
A packed struct needs different gcc attributes for compilations with MinGW compilers because glib-2.0 adds compiler flag -mms-bitfields which modifies the packing algorithm. Attribute gcc_struct reverses the negative effects of -mms-bitfields. We already have the SLIRP_PACKED definition for that, use it. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'src/ncsi.c')
0 files changed, 0 insertions, 0 deletions