summary refs log tree commit diff
path: root/libnm-util/nm-version.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-util/nm-version.h')
-rw-r--r--libnm-util/nm-version.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libnm-util/nm-version.h b/libnm-util/nm-version.h
index 760151a6..b8b32306 100644
--- a/libnm-util/nm-version.h
+++ b/libnm-util/nm-version.h
@@ -104,4 +104,18 @@
 # define NM_AVAILABLE_IN_1_4
 #endif
 
+#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_6
+# define NM_DEPRECATED_IN_1_6           G_DEPRECATED
+# define NM_DEPRECATED_IN_1_6_FOR(f)    G_DEPRECATED_FOR(f)
+#else
+# define NM_DEPRECATED_IN_1_6
+# define NM_DEPRECATED_IN_1_6_FOR(f)
+#endif
+
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_6
+# define NM_AVAILABLE_IN_1_6            G_UNAVAILABLE(1,6)
+#else
+# define NM_AVAILABLE_IN_1_6
+#endif
+
 #endif  /* NM_VERSION_H */