| Index: runtime/bin/platform_win.cc
|
| diff --git a/runtime/bin/platform_win.cc b/runtime/bin/platform_win.cc
|
| index e21515e7fbfd2dd75ced06e875c39868e3dfe0a8..8b0b17741867d5bbcb99b5e7f557bf78b37ec04c 100644
|
| --- a/runtime/bin/platform_win.cc
|
| +++ b/runtime/bin/platform_win.cc
|
| @@ -12,7 +12,7 @@
|
| #include "bin/file.h"
|
| #include "bin/lockers.h"
|
| #include "bin/log.h"
|
| -#if !defined(DART_IO_DISABLED) && !defined(PLATFORM_DISABLE_SOCKET)
|
| +#if !defined(PLATFORM_DISABLE_SOCKET)
|
| #include "bin/socket.h"
|
| #endif
|
| #include "bin/thread.h"
|
| @@ -231,7 +231,7 @@ const char* Platform::LocaleName() {
|
| }
|
|
|
| bool Platform::LocalHostname(char* buffer, intptr_t buffer_length) {
|
| -#if defined(DART_IO_DISABLED) || defined(PLATFORM_DISABLE_SOCKET)
|
| +#if defined(PLATFORM_DISABLE_SOCKET)
|
| return false;
|
| #else
|
| if (!SocketBase::Initialize()) {
|
|
|