mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 20:25:12 +01:00
gmacros: Add GCC < 5 fallback for __always_inline__
Commit 15cd0f04612c90292792c4d123ebe84bf4bf93a6 introduced a check for the __always_inline__ attribute. However, we don't define a fallback for GCC < 5.
This commit is contained in:
parent
3bbd728868
commit
13b564d027
@ -173,6 +173,7 @@
|
||||
#define g_macro__has_attribute(x) g_macro__has_attribute_##x
|
||||
|
||||
#define g_macro__has_attribute___alloc_size__ G_GNUC_CHECK_VERSION (4, 3)
|
||||
#define g_macro__has_attribute___always_inline__ G_GNUC_CHECK_VERSION (2, 0)
|
||||
#define g_macro__has_attribute___const__ G_GNUC_CHECK_VERSION (2, 4)
|
||||
#define g_macro__has_attribute___deprecated__ G_GNUC_CHECK_VERSION (3, 1)
|
||||
#define g_macro__has_attribute___format__ G_GNUC_CHECK_VERSION (2, 4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user