aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-04 22:17:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-04 22:17:56 +0300
commitda3341c3d7470087486879f157630e7df91cf044 (patch)
treed552389a55a0ff466b8c5daf3f8916bc09f0844e
parentdd973d03bf5f3f439dcdacbb22470105e66e698a (diff)
Add LIBBPKG_VERSION check to version header
-rw-r--r--bbot/version5
1 files changed, 5 insertions, 0 deletions
diff --git a/bbot/version b/bbot/version
index 9454762..d996d8b 100644
--- a/bbot/version
+++ b/bbot/version
@@ -5,6 +5,7 @@
#ifndef LIBBBOT_VERSION // Note: using the version macro itself.
#include <butl/version> // LIBBUTL_VERSION
+#include <bpkg/version> // LIBBPKG_VERSION
// Version format is AABBCCDD where
//
@@ -34,4 +35,8 @@
# error incompatible libbutl version
#endif
+#if LIBBPKG_VERSION != 49901
+# error incompatible libbpkg version
+#endif
+
#endif // LIBBBOT_VERSION