mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user