From d3ef0ee871480777feb0bfa956976adbc8ebe12f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 11 Jun 2019 15:45:43 +0200 Subject: [PATCH] version: add NM_AVAILABLE_IN_1_14_8 macro --- libnm-core/nm-version.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h index 59482d4eeb..f552c670b8 100644 --- a/libnm-core/nm-version.h +++ b/libnm-core/nm-version.h @@ -174,4 +174,10 @@ # define NM_AVAILABLE_IN_1_14 #endif +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_14_8 +# define NM_AVAILABLE_IN_1_14_8 G_UNAVAILABLE(1,14.8) +#else +# define NM_AVAILABLE_IN_1_14_8 +#endif + #endif /* NM_VERSION_H */