Merge branch 'gvariant-32bit-msvc' into 'main'

gvariant-core.c: Fix suffix alignment on 32-bit MSVC builds

See merge request GNOME/glib!4321
This commit is contained in:
Philip Withnall 2024-10-01 11:11:45 +00:00
commit e4f5c2e9c5

View File

@ -78,6 +78,8 @@ struct _GVariant
#if g_macro__has_attribute(aligned)
guint8 suffix[] __attribute__((aligned(8)));
#elif defined _MSC_VER
__declspec(align (8)) guint8 suffix[];
#else
guint8 suffix[];
#endif