about summary refs log tree commit diff
path: root/shared/nm-default.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-04-06 00:47:13 +0200
committerMichael Biebl <biebl@debian.org>2016-04-06 00:47:13 +0200
commit45bb35bff2a8d258aff2c1d9b68cce1787c7da62 (patch)
treee9da08b1d189befb839889185b4f3304d389a60f /shared/nm-default.h
parentd101696d539cd03172badbcde19e9a13e5707ee1 (diff)
parent2bfb3eb7d0323e69affca154395f51d8b577414d (diff)
Merge tag 'upstream/1.1.93'
Upstream version 1.1.93
Diffstat (limited to 'shared/nm-default.h')
-rw-r--r--shared/nm-default.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/nm-default.h b/shared/nm-default.h
index aae4777a..aeb977a9 100644
--- a/shared/nm-default.h
+++ b/shared/nm-default.h
@@ -46,6 +46,12 @@
 #include <config.h>
 #endif
 
+/* for internal compilation we don't want the deprecation macros
+ * to be in effect. Define the widest range of versions to effectively
+ * disable deprecation checks */
+#define NM_VERSION_MAX_ALLOWED   NM_VERSION_NEXT_STABLE
+#define NM_VERSION_MIN_REQUIRED  NM_VERSION_0_9_8
+
 #include <stdlib.h>
 
 #include "nm-glib.h"