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:46:19 +0200
committerMichael Biebl <biebl@debian.org>2016-04-06 00:46:19 +0200
commit2bfb3eb7d0323e69affca154395f51d8b577414d (patch)
treee3130a5146441296df6d08a0f4ac7222a854c8f8 /shared/nm-default.h
parentd9c99a29a0d3384c9c3d2adce430f5cb1134ab6a (diff)
Imported Upstream version 1.1.93 upstream/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"