aboutsummaryrefslogtreecommitdiff
path: root/build2/utility.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-06-15 12:18:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-06-15 14:28:49 +0300
commitb72f23ce67bc30d3bedbeabcf0b6d9c1fbf2a64f (patch)
tree5972d56a40da992ccd76e91e0ca6c05e7265c8eb /build2/utility.hxx
parent75313e6fead3b82a4be2d37b341a735f7b61279b (diff)
Use portable environment variable manipulation functions
Diffstat (limited to 'build2/utility.hxx')
-rw-r--r--build2/utility.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/utility.hxx b/build2/utility.hxx
index 4ca12ca..81a5d87 100644
--- a/build2/utility.hxx
+++ b/build2/utility.hxx
@@ -16,8 +16,7 @@
#include <libbutl/ft/lang.hxx>
-#include <libbutl/utility.mxx> // combine_hash(), reverse_iterate(), case*(),
- // etc
+#include <libbutl/utility.mxx> // combine_hash(), reverse_iterate(), etc
#include <unordered_set>
@@ -74,6 +73,10 @@ namespace build2
using butl::make_guard;
using butl::make_exception_guard;
+ using butl::getenv;
+ using butl::setenv;
+ using butl::unsetenv;
+
using butl::throw_generic_error;
using butl::throw_system_error;