diff options
Diffstat (limited to 'src/libnm-core-public/nm-version.h')
| -rw-r--r-- | src/libnm-core-public/nm-version.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libnm-core-public/nm-version.h b/src/libnm-core-public/nm-version.h index 0b2e6103..249084ae 100644 --- a/src/libnm-core-public/nm-version.h +++ b/src/libnm-core-public/nm-version.h @@ -355,6 +355,12 @@ #define NM_AVAILABLE_IN_1_42 #endif +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_42_2 +#define NM_AVAILABLE_IN_1_42_2 G_UNAVAILABLE(1, 42.2) +#else +#define NM_AVAILABLE_IN_1_42_2 +#endif + /* * Synchronous API for calling D-Bus in libnm is deprecated. See * https://networkmanager.dev/docs/libnm/latest/usage.html#sync-api |