This file MICmnStreamStdinLinux.cpp is wrongly added in the windows build.
It has no use there. CMakeList.txt for lldb-mi needs to be re-factored to
include the right file for each build. This is quick fix to un-break the build.
llvm-svn: 228714
//--
// Third Party Headers:
+#ifndef _WIN32
#include <sys/select.h>
#include <unistd.h> // For STDIN_FILENO
+#endif
#include <string.h> // For std::strerror()
// In-house headers:
bool
CMICmnStreamStdinLinux::InputAvailable(bool &vwbAvail)
{
+#ifndef _WIN32
// Wait for the input using select API. Timeout is used so that we get an
// opportunity to check if m_waitForInput has been set to false by other thread.
fd_set setOfStdin;
return MIstatus::success;
}
}
+#endif
return MIstatus::failure;
}