Skip to content

Commit

Permalink
Fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso committed Nov 21, 2016
1 parent d6560ee commit bb7aae9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions runtime/bin/socket_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@
namespace dart {
namespace bin {

static void FDUtils::SaveErrorAndClose(intptr_t fd) {
int err = errno;
VOID_TEMP_FAILURE_RETRY(close(fd));
errno = err;
}


SocketAddress::SocketAddress(struct sockaddr* sa) {
ASSERT(INET6_ADDRSTRLEN >= INET_ADDRSTRLEN);
if (!Socket::FormatNumericAddress(*reinterpret_cast<RawAddr*>(sa), as_string_,
Expand Down

0 comments on commit bb7aae9

Please sign in to comment.