diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h index 0ac2955baa..1c8bde2846 100644 --- a/libnm-core/nm-version.h +++ b/libnm-core/nm-version.h @@ -202,4 +202,10 @@ # define NM_AVAILABLE_IN_1_18 #endif +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_18_2 +# define NM_AVAILABLE_IN_1_18_2 G_UNAVAILABLE(1,18.2) +#else +# define NM_AVAILABLE_IN_1_18_2 +#endif + #endif /* NM_VERSION_H */