about summary refs log tree commit diff
path: root/shared/nm-default.h
diff options
context:
space:
mode:
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"