aboutsummaryrefslogtreecommitdiff
path: root/build2/context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/context.cxx')
-rw-r--r--build2/context.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/context.cxx b/build2/context.cxx
index 812886c..746592d 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -90,6 +90,10 @@ namespace build2
gs.assign ("build.work", dir_path_type) = work;
gs.assign ("build.home", dir_path_type) = home;
+ // @@ Backwards-compatibility hack.
+ //
+ gs.assign ("__build2_greater_than_0_2_0_hack__", bool_type) = true;
+
// Enter the version.
//
// @@ VAR types