| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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(TARGET_OS_FUCHSIA) | 8 #if defined(HOST_OS_FUCHSIA) |
| 9 | 9 |
| 10 #include "bin/socket.h" | 10 #include "bin/socket.h" |
| 11 #include "bin/socket_fuchsia.h" | 11 #include "bin/socket_fuchsia.h" |
| 12 | 12 |
| 13 #include <errno.h> // NOLINT | 13 #include <errno.h> // NOLINT |
| 14 #include <fcntl.h> // NOLINT | 14 #include <fcntl.h> // NOLINT |
| 15 #include <ifaddrs.h> // NOLINT | 15 #include <ifaddrs.h> // NOLINT |
| 16 #include <net/if.h> // NOLINT | 16 #include <net/if.h> // NOLINT |
| 17 #include <netinet/tcp.h> // NOLINT | 17 #include <netinet/tcp.h> // NOLINT |
| 18 #include <stdio.h> // NOLINT | 18 #include <stdio.h> // NOLINT |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 const RawAddr&, | 527 const RawAddr&, |
| 528 int interfaceIndex) { | 528 int interfaceIndex) { |
| 529 LOG_ERR("Socket::LeaveMulticast is unimplemented\n"); | 529 LOG_ERR("Socket::LeaveMulticast is unimplemented\n"); |
| 530 UNIMPLEMENTED(); | 530 UNIMPLEMENTED(); |
| 531 return false; | 531 return false; |
| 532 } | 532 } |
| 533 | 533 |
| 534 } // namespace bin | 534 } // namespace bin |
| 535 } // namespace dart | 535 } // namespace dart |
| 536 | 536 |
| 537 #endif // defined(TARGET_OS_FUCHSIA) | 537 #endif // defined(HOST_OS_FUCHSIA) |
| 538 | 538 |
| 539 #endif // !defined(DART_IO_DISABLED) | 539 #endif // !defined(DART_IO_DISABLED) |
| OLD | NEW |