summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2020-04-11 14:19:06 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2020-04-26 10:21:04 -0700
commitbcf8fa77d7946ce6285866b36b9c0d8134861109 (patch)
tree259d078e0c265c3e77d7fb41876381285bb0cef1
parent1647f69283eea8f762d3d27f19deac925a83d005 (diff)
downloadgobject-introspection-bcf8fa77d7946ce6285866b36b9c0d8134861109.tar.gz
girepository: Add 1.66 version macro
Required for adding new API to the 1.66 series.
-rw-r--r--girepository/giversionmacros.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/girepository/giversionmacros.h b/girepository/giversionmacros.h
index c32e5bb8..a941ee2d 100644
--- a/girepository/giversionmacros.h
+++ b/girepository/giversionmacros.h
@@ -159,4 +159,10 @@
# define GI_AVAILABLE_IN_1_60 _GI_EXTERN
#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__ */