From 3e8422fe4f999c39d0a77f77e037ae31df3c2f9d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 23 May 2019 21:26:06 +0300 Subject: Adapt to increasing standard version major, minor, and patch max values up to 99999 --- build2/utility.hxx | 10 +++++----- build2/version/rule.hxx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'build2') diff --git a/build2/utility.hxx b/build2/utility.hxx index 41020ac..0f7e521 100644 --- a/build2/utility.hxx +++ b/build2/utility.hxx @@ -26,11 +26,11 @@ // "Fake" version values used during bootstrap. // #ifdef BUILD2_BOOTSTRAP -# define BUILD2_VERSION 9999999990000ULL -# define BUILD2_VERSION_STR "999.999.999" -# define BUILD2_VERSION_ID "999.999.999" -# define LIBBUTL_VERSION_STR "999.999.999" -# define LIBBUTL_VERSION_ID "999.999.999" +# define BUILD2_VERSION 9999999999999990000ULL +# define BUILD2_VERSION_STR "99999.99999.99999" +# define BUILD2_VERSION_ID "99999.99999.99999" +# define LIBBUTL_VERSION_STR "99999.99999.99999" +# define LIBBUTL_VERSION_ID "99999.99999.99999" #else # include #endif diff --git a/build2/version/rule.hxx b/build2/version/rule.hxx index d12645d..2813f87 100644 --- a/build2/version/rule.hxx +++ b/build2/version/rule.hxx @@ -20,7 +20,7 @@ namespace build2 class in_rule: public in::rule { public: - in_rule (): rule ("version.in 1", "version.in") {} + in_rule (): rule ("version.in 2", "version.in") {} virtual bool match (action, target&, const string&) const override; -- cgit v1.1