diff options
author | Deepak Panickal <deepak@codeplay.com> | 2014-01-13 14:55:15 +0000 |
---|---|---|
committer | Deepak Panickal <deepak@codeplay.com> | 2014-01-13 14:55:15 +0000 |
commit | b36da43dc31d0c44fd64f7ec3bc8df9d10e94d10 (patch) | |
tree | 2b0df610ba3a0ab064c8c145bdcbfd2ccc1f8109 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | 9344787636fab60f51f386784c18d09e669306b2 (diff) | |
download | bcm5719-llvm-b36da43dc31d0c44fd64f7ec3bc8df9d10e94d10.tar.gz bcm5719-llvm-b36da43dc31d0c44fd64f7ec3bc8df9d10e94d10.zip |
Fixed the Visual Studio Windows build
llvm-svn: 199111
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index b3ea8b481df..f27b2cee5b5 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -694,7 +694,11 @@ GDBRemoteCommunication::StartDebugserverProcess (const char *hostname, if (::mktemp (named_pipe_path)) { +#if defined(_MSC_VER) + if ( false ) +#else if (::mkfifo(named_pipe_path, 0600) == 0) +#endif { debugserver_args.AppendArgument("--named-pipe"); debugserver_args.AppendArgument(named_pipe_path); |