diff options
author | 2017-09-28 11:28:55 -0700 | |
---|---|---|
committer | 2017-10-02 16:34:00 -0700 | |
commit | 139869d6a73fd14d66a6657f49ffbffeca51db85 (patch) | |
tree | d85d819b01893f419f5800b9cf4a03b540be1125 /src/core/lib/iomgr/socket_utils_windows.cc | |
parent | 778d24405736d35ca1aaf9353ce6e06c1d266b89 (diff) |
Reverting socket_utils_windows.c till a fix for inet_ntop is found. Trying BUILD changes
Diffstat (limited to 'src/core/lib/iomgr/socket_utils_windows.cc')
-rw-r--r-- | src/core/lib/iomgr/socket_utils_windows.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/core/lib/iomgr/socket_utils_windows.cc b/src/core/lib/iomgr/socket_utils_windows.cc deleted file mode 100644 index ddb6894b57..0000000000 --- a/src/core/lib/iomgr/socket_utils_windows.cc +++ /dev/null @@ -1,33 +0,0 @@ -/* - * - * Copyright 2016 gRPC authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "src/core/lib/iomgr/port.h" - -#ifdef GRPC_WINDOWS_SOCKETUTILS - -#include "src/core/lib/iomgr/sockaddr.h" -#include "src/core/lib/iomgr/socket_utils.h" - -#include <grpc/support/log.h> - -const char *grpc_inet_ntop(int af, const void *src, char *dst, size_t size) { - /* Windows InetNtopA wants a mutable ip pointer */ - return InetNtop(af, (void *)src, dst, size); -} - -#endif /* GRPC_WINDOWS_SOCKETUTILS */ |