diff options
-rw-r--r-- | build2/variable.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/variable.hxx b/build2/variable.hxx index e11d00c..f9b8b3c 100644 --- a/build2/variable.hxx +++ b/build2/variable.hxx @@ -109,6 +109,9 @@ namespace build2 prereq // Prerequisite-specific. }; + // VC14 reports ambiguity but seems to work if we don't provide any. + // +#if !defined(_MSC_VER) || _MSC_VER > 1900 inline bool operator> (variable_visibility l, variable_visibility r) { @@ -132,6 +135,7 @@ namespace build2 { return r >= l; } +#endif ostream& operator<< (ostream&, variable_visibility); |