| 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) | |
| 6 | |
| 7 #include "platform/globals.h" | 5 #include "platform/globals.h" |
| 8 #if defined(HOST_OS_FUCHSIA) | 6 #if defined(HOST_OS_FUCHSIA) |
| 9 | 7 |
| 10 #include "bin/socket_base.h" | 8 #include "bin/socket_base.h" |
| 11 | 9 |
| 12 // TODO(MG-766): If/when Fuchsia adds getifaddrs(), use that instead of the | 10 // TODO(MG-766): If/when Fuchsia adds getifaddrs(), use that instead of the |
| 13 // ioctl in netconfig.h. | 11 // ioctl in netconfig.h. |
| 14 #include <apps/netstack/apps/include/netconfig.h> | 12 #include <apps/netstack/apps/include/netconfig.h> |
| 15 #include <errno.h> // NOLINT | 13 #include <errno.h> // NOLINT |
| 16 #include <fcntl.h> // NOLINT | 14 #include <fcntl.h> // NOLINT |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 int interfaceIndex) { | 397 int interfaceIndex) { |
| 400 LOG_ERR("SocketBase::LeaveMulticast is unimplemented\n"); | 398 LOG_ERR("SocketBase::LeaveMulticast is unimplemented\n"); |
| 401 UNIMPLEMENTED(); | 399 UNIMPLEMENTED(); |
| 402 return false; | 400 return false; |
| 403 } | 401 } |
| 404 | 402 |
| 405 } // namespace bin | 403 } // namespace bin |
| 406 } // namespace dart | 404 } // namespace dart |
| 407 | 405 |
| 408 #endif // defined(HOST_OS_FUCHSIA) | 406 #endif // defined(HOST_OS_FUCHSIA) |
| 409 | |
| 410 #endif // !defined(DART_IO_DISABLED) | |
| OLD | NEW |