mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01: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:
commit
e4f5c2e9c5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user