| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 #if !defined(DART_IO_DISABLED) | 5 #if !defined(DART_IO_DISABLED) |
| 6 | 6 |
| 7 #include "platform/globals.h" | 7 #include "platform/globals.h" |
| 8 #if defined(HOST_OS_WINDOWS) | 8 #if defined(HOST_OS_WINDOWS) |
| 9 | 9 |
| 10 #include "bin/sync_socket.h" |
| 11 |
| 10 #include "bin/builtin.h" | 12 #include "bin/builtin.h" |
| 11 #include "bin/log.h" | 13 #include "bin/log.h" |
| 12 #include "bin/utils.h" | 14 #include "bin/utils.h" |
| 13 #include "bin/utils_win.h" | 15 #include "bin/utils_win.h" |
| 14 | 16 |
| 15 namespace dart { | 17 namespace dart { |
| 16 namespace bin { | 18 namespace bin { |
| 17 | 19 |
| 18 SynchronousSocket::SynchronousSocket(intptr_t fd) | 20 SynchronousSocket::SynchronousSocket(intptr_t fd) |
| 19 : ReferenceCounted(), fd_(fd), port_(ILLEGAL_PORT) { | 21 : ReferenceCounted(), fd_(fd), port_(ILLEGAL_PORT) { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 41 UNIMPLEMENTED(); | 43 UNIMPLEMENTED(); |
| 42 return -1; | 44 return -1; |
| 43 } | 45 } |
| 44 | 46 |
| 45 } // namespace bin | 47 } // namespace bin |
| 46 } // namespace dart | 48 } // namespace dart |
| 47 | 49 |
| 48 #endif // defined(HOST_OS_WINDOWS) | 50 #endif // defined(HOST_OS_WINDOWS) |
| 49 | 51 |
| 50 #endif // !defined(DART_IO_DISABLED) | 52 #endif // !defined(DART_IO_DISABLED) |
| OLD | NEW |