diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-08-27 14:56:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 14:56:01 -0700 |
commit | 8d47cd4992c3c3546bef23568fde5fe132144666 (patch) | |
tree | f2b55e25da82f8fd522a32bed769ede515ae15e3 /src/core/lib/iomgr/port.h | |
parent | a144c132011e4a7a51e519560b4cf657ea3dc099 (diff) |
Revert "Revert "Fathom tcp changes""
Diffstat (limited to 'src/core/lib/iomgr/port.h')
-rw-r--r-- | src/core/lib/iomgr/port.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/port.h b/src/core/lib/iomgr/port.h index 066417b93c..a4688fd0ef 100644 --- a/src/core/lib/iomgr/port.h +++ b/src/core/lib/iomgr/port.h @@ -60,6 +60,12 @@ #define GRPC_HAVE_IP_PKTINFO 1 #define GRPC_HAVE_MSG_NOSIGNAL 1 #define GRPC_HAVE_UNIX_SOCKET 1 +#include <linux/version.h> +#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 |