diff options
Diffstat (limited to 'telepathy-glib/defs.h')
-rw-r--r-- | telepathy-glib/defs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/telepathy-glib/defs.h b/telepathy-glib/defs.h index 3c21e423e..85677f478 100644 --- a/telepathy-glib/defs.h +++ b/telepathy-glib/defs.h @@ -232,6 +232,14 @@ G_BEGIN_DECLS # define _TP_DEPRECATED_IN_1_0_FOR(f) /* nothing */ #endif +#if TP_VERSION_MIN_REQUIRED >= _TP_VERSION_CUR_STABLE +# define _TP_DEPRECATED_IN_UNRELEASED _TP_DEPRECATED +# define _TP_DEPRECATED_IN_UNRELEASED_FOR(f) _TP_DEPRECATED_FOR(f) +#else +# define _TP_DEPRECATED_IN_UNRELEASED /* nothing */ +# define _TP_DEPRECATED_IN_UNRELEASED_FOR(f) /* nothing */ +#endif + #if TP_VERSION_MAX_ALLOWED < TP_VERSION_0_16 # define _TP_AVAILABLE_IN_0_16 _TP_UNAVAILABLE(0, 16) #else |