[libdazzle/suggestion-secondary-icon: 1/2] build: add 3.36 version macros



commit 36c942f3d6148890ffb37f6ae094c119708a118c
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Fri Jan 3 12:50:50 2020 +0100

    build: add 3.36 version macros

 src/dzl-version-macros.h | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/dzl-version-macros.h b/src/dzl-version-macros.h
index 2eea9a8..166036c 100644
--- a/src/dzl-version-macros.h
+++ b/src/dzl-version-macros.h
@@ -45,6 +45,7 @@
 #define DZL_VERSION_3_30 (G_ENCODE_VERSION (3, 30))
 #define DZL_VERSION_3_32 (G_ENCODE_VERSION (3, 32))
 #define DZL_VERSION_3_34 (G_ENCODE_VERSION (3, 34))
+#define DZL_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
 
 #if (DZL_MINOR_VERSION == 99)
 # define DZL_VERSION_CUR_STABLE (G_ENCODE_VERSION (DZL_MAJOR_VERSION + 1, 0))
@@ -173,4 +174,10 @@
 # define DZL_AVAILABLE_IN_3_34                 _DZL_EXTERN
 #endif
 
+#if DZL_VERSION_MAX_ALLOWED < DZL_VERSION_3_36
+# define DZL_AVAILABLE_IN_3_36                 DZL_UNAVAILABLE(3, 36)
+#else
+# define DZL_AVAILABLE_IN_3_36                 _DZL_EXTERN
+#endif
+
 #endif /* DZL_VERSION_MACROS_H */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]