diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2016-12-15 15:00:41 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2016-12-15 15:00:41 +0000 |
commit | f6ee79c9262a619752318ea4357a8f4d9f449d5c (patch) | |
tree | 48eda83ccf532cea909617ce98ec97ca9c4ca3ff /lldb/source/Target/ProcessLaunchInfo.cpp | |
parent | 91b5cf8412a9fffdca96619f02f485c8c48bf852 (diff) | |
download | bcm5719-llvm-f6ee79c9262a619752318ea4357a8f4d9f449d5c.tar.gz bcm5719-llvm-f6ee79c9262a619752318ea4357a8f4d9f449d5c.zip |
Fix build for mingw.
Summary: I was building lldb using cross mingw-w64 toolchain on Linux and observed some issues. This is first patch in the series to fix that build. It mostly corrects the case of include files and adjusts some #ifdefs from _MSC_VER to _WIN32 and vice versa. I built lldb on windows with VS after applying this patch to make sure it does not break the build there.
Reviewers: zturner, labath, abidh
Subscribers: ki.stfu, mgorny, lldb-commits
Differential Revision: https://reviews.llvm.org/D27759
llvm-svn: 289821
Diffstat (limited to 'lldb/source/Target/ProcessLaunchInfo.cpp')
-rw-r--r-- | lldb/source/Target/ProcessLaunchInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ProcessLaunchInfo.cpp b/lldb/source/Target/ProcessLaunchInfo.cpp index aba9605e4ba..92d9371b541 100644 --- a/lldb/source/Target/ProcessLaunchInfo.cpp +++ b/lldb/source/Target/ProcessLaunchInfo.cpp @@ -294,7 +294,7 @@ void ProcessLaunchInfo::FinalizeFileActions(Target *target, __FUNCTION__); int open_flags = O_RDWR | O_NOCTTY; -#if !defined(_MSC_VER) +#if !defined(_WIN32) // We really shouldn't be specifying platform specific flags // that are intended for a system call in generic code. But // this will have to do for now. |