version: add NM_AVAILABLE_IN_1_16_4 macro

This commit is contained in:
Thomas Haller 2019-06-11 15:04:55 +02:00
parent 373ddf2907
commit 0c914eb846

View file

@ -188,4 +188,10 @@
# define NM_AVAILABLE_IN_1_16
#endif
#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_16_4
# define NM_AVAILABLE_IN_1_16_4 G_UNAVAILABLE(1,16.4)
#else
# define NM_AVAILABLE_IN_1_16_4
#endif
#endif /* NM_VERSION_H */