summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/raw_ostream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h
index 458b0998e82..9a86f3a371e 100644
--- a/llvm/include/llvm/Support/raw_ostream.h
+++ b/llvm/include/llvm/Support/raw_ostream.h
@@ -369,9 +369,11 @@ class raw_fd_ostream : public raw_pwrite_stream {
bool SupportsSeeking;
+#ifdef _WIN32
/// True if this fd refers to a Windows console device. Mintty and other
/// terminal emulators are TTYs, but they are not consoles.
bool IsWindowsConsole = false;
+#endif
std::error_code EC;
OpenPOWER on IntegriCloud