girepository: Add 1.66 version macro

Required for adding new API to the 1.66 series.
This commit is contained in:
Philip Chimento 2020-04-11 14:19:06 -07:00
parent 74ff43c47f
commit 8fcdeefb3a

View File

@ -159,4 +159,10 @@
# define GI_AVAILABLE_IN_1_60 _GI_EXTERN # define GI_AVAILABLE_IN_1_60 _GI_EXTERN
#endif #endif
#if defined(GLIB_VERSION_2_66) && GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_66
# define GI_AVAILABLE_IN_1_66 GLIB_UNAVAILABLE(2, 66)
#else
# define GI_AVAILABLE_IN_1_66 _GI_EXTERN
#endif
#endif /* __GIVERSIONMACROS_H__ */ #endif /* __GIVERSIONMACROS_H__ */