diff options
| author | Michael Biebl <biebl@debian.org> | 2016-04-06 00:46:19 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2016-04-06 00:46:19 +0200 |
| commit | 2bfb3eb7d0323e69affca154395f51d8b577414d (patch) | |
| tree | e3130a5146441296df6d08a0f4ac7222a854c8f8 /libnm-util/nm-version.h | |
| parent | d9c99a29a0d3384c9c3d2adce430f5cb1134ab6a (diff) | |
Imported Upstream version 1.1.93 upstream/1.1.93
Diffstat (limited to 'libnm-util/nm-version.h')
| -rw-r--r-- | libnm-util/nm-version.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libnm-util/nm-version.h b/libnm-util/nm-version.h index fd94e210..760151a6 100644 --- a/libnm-util/nm-version.h +++ b/libnm-util/nm-version.h @@ -90,4 +90,18 @@ # define NM_AVAILABLE_IN_1_2 #endif +#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_4 +# define NM_DEPRECATED_IN_1_4 G_DEPRECATED +# define NM_DEPRECATED_IN_1_4_FOR(f) G_DEPRECATED_FOR(f) +#else +# define NM_DEPRECATED_IN_1_4 +# define NM_DEPRECATED_IN_1_4_FOR(f) +#endif + +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_4 +# define NM_AVAILABLE_IN_1_4 G_UNAVAILABLE(1,4) +#else +# define NM_AVAILABLE_IN_1_4 +#endif + #endif /* NM_VERSION_H */ |