version: add NM_AVAILABLE_IN_1_18_2 macro

This commit is contained in:
Thomas Haller 2019-06-11 15:04:55 +02:00
parent 2a2a66b4d5
commit 7f5ee67a19

View file

@ -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 */