diff options
| author | Michael Biebl <biebl@debian.org> | 2019-04-21 21:09:51 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2019-04-21 21:09:51 +0200 |
| commit | 85563b7fc7ec2cd21e38debb9b28db342e2e8e7c (patch) | |
| tree | cce7b0b02d28fae2df9fdf2c1804cacd1500f2d7 /libnm-core/nm-version.h | |
| parent | 9a6dcbf895f9da01768e64b73cec88c16157d91e (diff) | |
New upstream version 1.18.0 upstream/1.18.0
Diffstat (limited to 'libnm-core/nm-version.h')
| -rw-r--r-- | libnm-core/nm-version.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h index 7fe2e45b..0ac2955b 100644 --- a/libnm-core/nm-version.h +++ b/libnm-core/nm-version.h @@ -188,4 +188,18 @@ # define NM_AVAILABLE_IN_1_16 #endif +#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_18 +# define NM_DEPRECATED_IN_1_18 G_DEPRECATED +# define NM_DEPRECATED_IN_1_18_FOR(f) G_DEPRECATED_FOR(f) +#else +# define NM_DEPRECATED_IN_1_18 +# define NM_DEPRECATED_IN_1_18_FOR(f) +#endif + +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_18 +# define NM_AVAILABLE_IN_1_18 G_UNAVAILABLE(1,18) +#else +# define NM_AVAILABLE_IN_1_18 +#endif + #endif /* NM_VERSION_H */ |