about 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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnm-util/nm-version.h b/libnm-util/nm-version.h
index f56c3944..7173bc6b 100644
--- a/libnm-util/nm-version.h
+++ b/libnm-util/nm-version.h
@@ -29,17 +29,17 @@
 
 #if !defined (NM_VERSION_MIN_REQUIRED) || (NM_VERSION_MIN_REQUIRED == 0)
 # undef NM_VERSION_MIN_REQUIRED
-# define NM_VERSION_MIN_REQUIRED (NM_API_VERSION)
+# define NM_VERSION_MIN_REQUIRED (NM_VERSION_CUR_STABLE)
 #endif
 
 #if !defined (NM_VERSION_MAX_ALLOWED) || (NM_VERSION_MAX_ALLOWED == 0)
 # undef NM_VERSION_MAX_ALLOWED
-# define NM_VERSION_MAX_ALLOWED (NM_API_VERSION)
+# define NM_VERSION_MAX_ALLOWED (NM_VERSION_CUR_STABLE)
 #endif
 
 /* sanity checks */
-#if NM_VERSION_MIN_REQUIRED > NM_API_VERSION
-#error "NM_VERSION_MIN_REQUIRED must be <= NM_API_VERSION"
+#if NM_VERSION_MIN_REQUIRED > NM_VERSION_NEXT_STABLE
+#error "NM_VERSION_MIN_REQUIRED must be <= NM_VERSION_NEXT_STABLE"
 #endif
 #if NM_VERSION_MAX_ALLOWED < NM_VERSION_MIN_REQUIRED
 #error "NM_VERSION_MAX_ALLOWED must be >= NM_VERSION_MIN_REQUIRED"