| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 "platform/globals.h" | 5 #include "platform/globals.h" |
| 6 #if defined(TARGET_OS_WINDOWS) | 6 #if defined(TARGET_OS_WINDOWS) |
| 7 | 7 |
| 8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
| 9 #include "bin/eventhandler.h" | 9 #include "bin/eventhandler.h" |
| 10 #include "bin/file.h" | 10 #include "bin/file.h" |
| 11 #include "bin/lockers.h" |
| 11 #include "bin/log.h" | 12 #include "bin/log.h" |
| 12 #include "bin/socket.h" | 13 #include "bin/socket.h" |
| 13 #include "bin/thread.h" | 14 #include "bin/thread.h" |
| 14 #include "bin/utils.h" | 15 #include "bin/utils.h" |
| 15 | 16 |
| 16 namespace dart { | 17 namespace dart { |
| 17 namespace bin { | 18 namespace bin { |
| 18 | 19 |
| 19 SocketAddress::SocketAddress(struct sockaddr* sockaddr) { | 20 SocketAddress::SocketAddress(struct sockaddr* sockaddr) { |
| 20 ASSERT(INET6_ADDRSTRLEN >= INET_ADDRSTRLEN); | 21 ASSERT(INET6_ADDRSTRLEN >= INET_ADDRSTRLEN); |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 proto, | 718 proto, |
| 718 MCAST_LEAVE_GROUP, | 719 MCAST_LEAVE_GROUP, |
| 719 reinterpret_cast<char *>(&mreq), | 720 reinterpret_cast<char *>(&mreq), |
| 720 sizeof(mreq)) == 0; | 721 sizeof(mreq)) == 0; |
| 721 } | 722 } |
| 722 | 723 |
| 723 } // namespace bin | 724 } // namespace bin |
| 724 } // namespace dart | 725 } // namespace dart |
| 725 | 726 |
| 726 #endif // defined(TARGET_OS_WINDOWS) | 727 #endif // defined(TARGET_OS_WINDOWS) |
| OLD | NEW |