| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "bin/eventhandler.h" | 5 #include "bin/eventhandler.h" |
| 6 | 6 |
| 7 #include <process.h> | 7 #include <process.h> |
| 8 #include <winsock2.h> | 8 #include <winsock2.h> |
| 9 #include <ws2tcpip.h> | 9 #include <ws2tcpip.h> |
| 10 #include <mswsock.h> | 10 #include <mswsock.h> |
| (...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 // Initialize Winsock32 | 940 // Initialize Winsock32 |
| 941 if (!Socket::Initialize()) { | 941 if (!Socket::Initialize()) { |
| 942 FATAL("Failed to initialized Windows sockets"); | 942 FATAL("Failed to initialized Windows sockets"); |
| 943 } | 943 } |
| 944 } | 944 } |
| 945 | 945 |
| 946 | 946 |
| 947 void EventHandlerImplementation::Shutdown() { | 947 void EventHandlerImplementation::Shutdown() { |
| 948 SendData(kShutdownId, 0, 0); | 948 SendData(kShutdownId, 0, 0); |
| 949 } | 949 } |
| OLD | NEW |