diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-03-12 10:45:23 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-03-12 10:45:23 +0000 |
commit | 6eff101926830481b638e451c58e82275509d224 (patch) | |
tree | 94c25c23b1352ecb3a4dcd7d4836c4df7cbabba8 /lldb/source/Host/common/File.cpp | |
parent | bdb515916c1f9787b7e9d8a56468bfe08b975098 (diff) | |
download | bcm5719-llvm-6eff101926830481b638e451c58e82275509d224.tar.gz bcm5719-llvm-6eff101926830481b638e451c58e82275509d224.zip |
Replace some _MSC_VER with _WIN32.
This allows to use some code for mingw which was previously only
used for MSVC.
llvm-svn: 203651
Diffstat (limited to 'lldb/source/Host/common/File.cpp')
-rw-r--r-- | lldb/source/Host/common/File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp index 1051757932d..500b03ce42e 100644 --- a/lldb/source/Host/common/File.cpp +++ b/lldb/source/Host/common/File.cpp @@ -887,7 +887,7 @@ File::CalculateInteractiveAndTerminal () { m_is_interactive = eLazyBoolNo; m_is_real_terminal = eLazyBoolNo; -#ifdef _MSC_VER +#ifdef _WIN32 if (_isatty(fd)) { m_is_interactive = eLazyBoolYes; |