[libnma: 2/7] version: add NMA_AVAILABLE_IN_1_8_28 macro



commit 2cdbde574de207749c7f906d4e97d7858be59bf9
Author: Eivind Naess <eivnaes yahoo com>
Date:   Thu Feb 13 17:27:11 2020 +0100

    version: add NMA_AVAILABLE_IN_1_8_28 macro
    
    [thaller redhat com: taken part of original commit and wrote commit message]

 src/nma-version.h.in | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/nma-version.h.in b/src/nma-version.h.in
index cd9f2d57..1ba9382e 100644
--- a/src/nma-version.h.in
+++ b/src/nma-version.h.in
@@ -118,4 +118,10 @@
 # define NMA_AVAILABLE_IN_1_8_22
 #endif
 
+#if NMA_VERSION_MAX_ALLOWED < NMA_VERSION_1_8_28
+# define NMA_AVAILABLE_IN_1_8_28            G_UNAVAILABLE(1.8,28)
+#else
+# define NMA_AVAILABLE_IN_1_8_28
+#endif
+
 #endif  /* NMA_VERSION_H */


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