| Index: runtime/bin/file_win.cc
|
| diff --git a/runtime/bin/file_win.cc b/runtime/bin/file_win.cc
|
| index 78454678f8fcb7d8a4a3b2a52fbfcd606e2069f6..500e4ec101486f7fdb410b6a1cccb6a9ebec52df 100644
|
| --- a/runtime/bin/file_win.cc
|
| +++ b/runtime/bin/file_win.cc
|
| @@ -123,6 +123,12 @@ File* File::Open(const char* name, FileOpenMode mode) {
|
| }
|
|
|
|
|
| +File* File::OpenStdio(int fd) {
|
| + UNREACHABLE();
|
| + return NULL;
|
| +}
|
| +
|
| +
|
| bool File::Exists(const char* name) {
|
| struct stat st;
|
| if (stat(name, &st) == 0) {
|
| @@ -177,3 +183,10 @@ const char* File::PathSeparator() {
|
| const char* File::StringEscapedPathSeparator() {
|
| return "\\\\";
|
| }
|
| +
|
| +
|
| +File::StdioHandleType File::GetStdioHandleType(int fd) {
|
| + // Treat all stdio handles as pipes. The Windows event handler and
|
| + // socket code will handle the different handle types.
|
| + return kPipe;
|
| +}
|
|
|