From 5666053da046b94f8fd7bae0b6e35196347ce8be Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 2 May 2017 12:24:27 +0200 Subject: Undefine major/minor macros in standard-version header --- libbutl/standard-version.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libbutl/standard-version.hxx b/libbutl/standard-version.hxx index 22078f5..3a5b2a5 100644 --- a/libbutl/standard-version.hxx +++ b/libbutl/standard-version.hxx @@ -14,6 +14,16 @@ #include +// FreeBSD defines these macros in its . +// +#ifdef major +# undef major +#endif + +#ifdef minor +# undef minor +#endif + namespace butl { // The build2 "standard version" (specific, earliest and stub): -- cgit v1.1