Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: runtime/bin/platform_win.cc

Issue 3009523002: [dart:io] Remove DART_IO_DISABLED (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/platform_unsupported.cc ('k') | runtime/bin/process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()) {
« no previous file with comments | « runtime/bin/platform_unsupported.cc ('k') | runtime/bin/process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698