diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-08-09 11:09:27 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-08-09 11:18:39 +0200 |
| commit | 820498b2158e0b05421ce0922f203a0699927fa8 (patch) | |
| tree | 3bf6d1089b762535ec5e59738d47ae2d2f54750f /libnm-core/nm-version.h | |
| parent | 1bd9f376796563dfb5016bada66c78b203f41d33 (diff) | |
| parent | 488dda3930545969f5644b57cfca81e21df031c3 (diff) | |
Merge remote-tracking branch 'salsa/master'
Diffstat (limited to 'libnm-core/nm-version.h')
| -rw-r--r-- | libnm-core/nm-version.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h index 0ac2955b..ee6a1e7d 100644 --- a/libnm-core/nm-version.h +++ b/libnm-core/nm-version.h @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -202,4 +201,18 @@ # define NM_AVAILABLE_IN_1_18 #endif +#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_20 +# define NM_DEPRECATED_IN_1_20 G_DEPRECATED +# define NM_DEPRECATED_IN_1_20_FOR(f) G_DEPRECATED_FOR(f) +#else +# define NM_DEPRECATED_IN_1_20 +# define NM_DEPRECATED_IN_1_20_FOR(f) +#endif + +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_20 +# define NM_AVAILABLE_IN_1_20 G_UNAVAILABLE(1,20) +#else +# define NM_AVAILABLE_IN_1_20 +#endif + #endif /* NM_VERSION_H */ |