Fix ipv6.c build breakage on Windows.

Change on 2014/12/11 by jtattermusch <jtattermusch@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81910401
pull/1/merge
jtattermusch 10 years ago committed by Jan Tattermusch
parent 718c3f7587
commit 94204dda83
  1. 2
      Makefile
  2. 2
      build.json
  3. 5
      test/core/util/ipv6_posix.c
  4. 2
      vsprojects/vs2013/grpc_test_util.vcxproj

@ -750,7 +750,7 @@ clean_libgrpc:
LIBGRPC_TEST_UTIL_SRC = \
test/core/util/grpc_profiler.c \
test/core/util/ipv6.c \
test/core/util/ipv6_posix.c \
test/core/util/parse_hexstring.c \
test/core/util/port_posix.c \
test/core/util/slice_splitter.c \

@ -271,7 +271,7 @@
"vs_project_guid": "{17BCAFC0-5FDC-4C94-AEB9-95F3E220614B}",
"src": [
"test/core/util/grpc_profiler.c",
"test/core/util/ipv6.c",
"test/core/util/ipv6_posix.c",
"test/core/util/parse_hexstring.c",
"test/core/util/port_posix.c",
"test/core/util/slice_splitter.c",

@ -31,6 +31,9 @@
*
*/
#include <grpc/support/port_platform.h>
#ifdef GPR_POSIX_SOCKET
#include "test/core/util/ipv6.h"
#include <netinet/in.h>
@ -53,3 +56,5 @@ int grpc_ipv6_loopback_available() {
}
return ok;
}
#endif /* GPR_POSIX_SOCKET */

@ -77,7 +77,7 @@
<ItemGroup>
<ClCompile Include="..\..\test\core\util\grpc_profiler.c">
</ClCompile>
<ClCompile Include="..\..\test\core\util\ipv6.c">
<ClCompile Include="..\..\test\core\util\ipv6_posix.c">
</ClCompile>
<ClCompile Include="..\..\test\core\util\parse_hexstring.c">
</ClCompile>

Loading…
Cancel
Save