mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
gmacros: Add missing GLIB_UNAVAILABLE_STATIC_INLINE declaration
This fixes building against GLib with `GLIB_DISABLE_DEPRECATION_WARNINGS` defined. Signed-off-by: Philip Withnall <withnall@endlessm.com> See: !1487
This commit is contained in:
parent
0fc7f409f6
commit
4364c51722
@ -978,6 +978,7 @@
|
||||
#define GLIB_DEPRECATED _GLIB_EXTERN
|
||||
#define GLIB_DEPRECATED_FOR(f) _GLIB_EXTERN
|
||||
#define GLIB_UNAVAILABLE(maj,min) _GLIB_EXTERN
|
||||
#define GLIB_UNAVAILABLE_STATIC_INLINE(maj,min)
|
||||
#else
|
||||
#define GLIB_DEPRECATED G_DEPRECATED _GLIB_EXTERN
|
||||
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
|
||||
|
Loading…
Reference in New Issue
Block a user