commit | 6eff101926830481b638e451c58e82275509d224 | [log] [tgz] |
---|---|---|
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | Wed Mar 12 10:45:23 2014 +0000 |
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | Wed Mar 12 10:45:23 2014 +0000 |
tree | 94c25c23b1352ecb3a4dcd7d4836c4df7cbabba8 | |
parent | bdb515916c1f9787b7e9d8a56468bfe08b975098 [diff] [blame] |
Replace some _MSC_VER with _WIN32. This allows to use some code for mingw which was previously only used for MSVC. llvm-svn: 203651
diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp index 1051757..500b03c 100644 --- a/lldb/source/Host/common/File.cpp +++ b/lldb/source/Host/common/File.cpp
@@ -887,7 +887,7 @@ { m_is_interactive = eLazyBoolNo; m_is_real_terminal = eLazyBoolNo; -#ifdef _MSC_VER +#ifdef _WIN32 if (_isatty(fd)) { m_is_interactive = eLazyBoolYes;