aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2017-03-23 10:37:02 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2017-03-23 10:37:02 -0700
commitb129095618fd3288179e9cca0ed294e281eea5c2 (patch)
tree3208c72cb149b0f450dc436a4a078ecbe53836a4 /src/core
parent5c8a47e86d265ade109f114cdb2b483caaa6c682 (diff)
Fix tcp_server_utils_posix_common
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/iomgr/tcp_server_utils_posix_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/tcp_server_utils_posix_common.c b/src/core/lib/iomgr/tcp_server_utils_posix_common.c
index 283b92b0a2..af2b00b4b5 100644
--- a/src/core/lib/iomgr/tcp_server_utils_posix_common.c
+++ b/src/core/lib/iomgr/tcp_server_utils_posix_common.c
@@ -33,7 +33,7 @@
#include "src/core/lib/iomgr/port.h"
-#ifdef GRPC_HAVE_IFADDRS
+#ifdef GRPC_POSIX_SOCKET
#include "src/core/lib/iomgr/tcp_server_utils_posix.h"
@@ -218,4 +218,4 @@ error:
return ret;
}
-#endif /* GRPC_HAVE_IFADDRS */
+#endif /* GRPC_POSIX_SOCKET */