version: add NM_AVAILABLE_IN_1_14_8 macro

This commit is contained in:
Thomas Haller 2019-06-11 15:45:43 +02:00
parent f6b51bb8ea
commit d3ef0ee871

View file

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