build: add NM_AVAILABLE_IN_1_0_4 define

This commit is contained in:
Thomas Haller 2015-06-26 12:57:05 +02:00
parent e4a9698fa3
commit 56317613bd

View file

@ -122,4 +122,10 @@
# define NM_AVAILABLE_IN_1_0
#endif
#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_0_4
# define NM_AVAILABLE_IN_1_0_4 G_UNAVAILABLE(1,0.4)
#else
# define NM_AVAILABLE_IN_1_0_4
#endif
#endif /* NM_VERSION_H */