From da3341c3d7470087486879f157630e7df91cf044 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 4 Apr 2017 22:17:56 +0300 Subject: Add LIBBPKG_VERSION check to version header --- bbot/version | 5 +++++ 1 file changed, 5 insertions(+) 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 // LIBBUTL_VERSION +#include // 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 -- cgit v1.1