diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-03-31 09:22:24 -0700 |
---|---|---|
committer | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-03-31 09:22:24 -0700 |
commit | 2b9012362ca03181eefaec22238c6100e77bb736 (patch) | |
tree | ca54007b7a29fe3b5de3172efafc390e70cee2d7 /src/core/lib/surface | |
parent | 7894e60306d52acb841d401aaa6f0e6a80e57029 (diff) | |
parent | d0facacece41cb4ae887cb565d8d8447249d4adb (diff) |
Merge pull request #5943 from vjpai/make_unix_sockets_great_again
Fix the unix socket #ifdef in init.c
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r-- | src/core/lib/surface/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/surface/init.c b/src/core/lib/surface/init.c index d59323b2bc..3ccc21fb31 100644 --- a/src/core/lib/surface/init.c +++ b/src/core/lib/surface/init.c @@ -172,7 +172,7 @@ void grpc_init(void) { grpc_register_resolver_type(grpc_dns_resolver_factory_create()); grpc_register_resolver_type(grpc_ipv4_resolver_factory_create()); grpc_register_resolver_type(grpc_ipv6_resolver_factory_create()); -#ifdef GPR_POSIX_SOCKET +#ifdef GPR_HAVE_UNIX_SOCKET grpc_register_resolver_type(grpc_unix_resolver_factory_create()); #endif grpc_register_tracer("api", &grpc_api_trace); |