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

Unified Diff: runtime/bin/socket_win.h

Issue 16514010: Add NetworkAdaptor to dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add support for win, mac and android. Created 7 years, 6 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
Index: runtime/bin/socket_win.h
diff --git a/runtime/bin/socket_win.h b/runtime/bin/socket_win.h
index 67c9e7c7db313c30a1db82049f1d109f9488cde4..21757994c7a38647629da44a363700a646483a72 100644
--- a/runtime/bin/socket_win.h
+++ b/runtime/bin/socket_win.h
@@ -6,7 +6,10 @@
#define BIN_SOCKET_WIN_H_
#include <winsock2.h>
+#include <iphlpapi.h>
#include <ws2tcpip.h>
#include <mswsock.h>
+#pragma comment(lib, "IPHLPAPI.lib")
Søren Gjesse 2013/06/20 18:22:05 The linking with iphlpapi.lib should be in the bin
Anders Johnsen 2013/06/21 07:58:35 Done.
+
#endif // BIN_SOCKET_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698