aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r--libbuild2/utility.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx
index 43cb904..f37fc54 100644
--- a/libbuild2/utility.hxx
+++ b/libbuild2/utility.hxx
@@ -149,11 +149,9 @@ namespace build2
LIBBUILD2_SYMEXPORT extern bool diag_no_line; // --no-line
LIBBUILD2_SYMEXPORT extern bool diag_no_column; // --no-column
- // If stderr is not a terminal, then the value is absent (so can be used as
- // bool). Otherwise, it is the value of the TERM environment variable (which
- // can be NULL).
+ // True if stderr is a terminal.
//
- LIBBUILD2_SYMEXPORT extern optional<const char*> stderr_term;
+ LIBBUILD2_SYMEXPORT extern bool stderr_term;
// True if the color can be used on the stderr terminal.
//