diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-04 22:17:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-04 22:17:56 +0300 |
commit | da3341c3d7470087486879f157630e7df91cf044 (patch) | |
tree | d552389a55a0ff466b8c5daf3f8916bc09f0844e /bbot | |
parent | dd973d03bf5f3f439dcdacbb22470105e66e698a (diff) |
Add LIBBPKG_VERSION check to version header
Diffstat (limited to 'bbot')
-rw-r--r-- | bbot/version | 5 |
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 |