aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <y-zeng@users.noreply.github.com>2017-03-24 10:57:02 -0700
committerGravatar GitHub <noreply@github.com>2017-03-24 10:57:02 -0700
commit12b4b271855e5d0187762c27e00ddb16d8848e35 (patch)
tree0fcbc9881cb3857a62fccebd0de46ce78e80342e /src/core/lib/iomgr
parentaf61d0b7b4b9cd48b424c3c6f7c0b3c3be2ae270 (diff)
parentb129095618fd3288179e9cca0ed294e281eea5c2 (diff)
Merge pull request #10268 from y-zeng/fix_tcp
Fix tcp_server_utils_posix_common
Diffstat (limited to 'src/core/lib/iomgr')
-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 */