aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/port.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-09-12 17:09:35 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-09-12 17:09:35 -0700
commit8afddf1c48108607eecf74507fa8b01bdfd59a04 (patch)
treea5db35e33cde1d48ca5d31860956df58ad3432d8 /src/core/lib/iomgr/port.h
parent2f6640f005196d71cb27d9d47e06cb130fd84502 (diff)
parent20345b21bb00c626ef346c26dbb3903c96c21c52 (diff)
Merge branch 'master' into tcpusertimeout
Diffstat (limited to 'src/core/lib/iomgr/port.h')
-rw-r--r--src/core/lib/iomgr/port.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/port.h b/src/core/lib/iomgr/port.h
index 807b9bf85a..3d459059d7 100644
--- a/src/core/lib/iomgr/port.h
+++ b/src/core/lib/iomgr/port.h
@@ -60,6 +60,11 @@
#define GRPC_HAVE_IP_PKTINFO 1
#define GRPC_HAVE_MSG_NOSIGNAL 1
#define GRPC_HAVE_UNIX_SOCKET 1
+#ifdef LINUX_VERSION_CODE
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0)
+#define GRPC_LINUX_ERRQUEUE 1
+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0) */
+#endif /* LINUX_VERSION_CODE */
#define GRPC_LINUX_MULTIPOLL_WITH_EPOLL 1
#define GRPC_POSIX_FORK 1
#define GRPC_POSIX_HOST_NAME_MAX 1