From b36da43dc31d0c44fd64f7ec3bc8df9d10e94d10 Mon Sep 17 00:00:00 2001 From: Deepak Panickal Date: Mon, 13 Jan 2014 14:55:15 +0000 Subject: Fixed the Visual Studio Windows build llvm-svn: 199111 --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp') 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); -- cgit v1.2.3