summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
diff options
context:
space:
mode:
authorDeepak Panickal <deepak@codeplay.com>2014-01-13 14:55:15 +0000
committerDeepak Panickal <deepak@codeplay.com>2014-01-13 14:55:15 +0000
commitb36da43dc31d0c44fd64f7ec3bc8df9d10e94d10 (patch)
tree2b0df610ba3a0ab064c8c145bdcbfd2ccc1f8109 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
parent9344787636fab60f51f386784c18d09e669306b2 (diff)
downloadbcm5719-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.cpp4
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);
OpenPOWER on IntegriCloud