diff options
author | Ken Payson <kpayson@google.com> | 2017-03-30 17:38:40 -0700 |
---|---|---|
committer | Ken Payson <kpayson@google.com> | 2017-04-06 13:39:35 -0700 |
commit | 975b5103e5037e3b9fc1bde02740b568cadeb2c5 (patch) | |
tree | 9b1617360b1c568d2ab6d220758653ff46340387 /src/core/lib/iomgr/port.h | |
parent | e98ae0e3b74a41217a6039ce5b75d35a0b9edea0 (diff) |
Fix build on Alpine linux + add portability tests
Diffstat (limited to 'src/core/lib/iomgr/port.h')
-rw-r--r-- | src/core/lib/iomgr/port.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/port.h b/src/core/lib/iomgr/port.h index 94a454c0b7..269dc35003 100644 --- a/src/core/lib/iomgr/port.h +++ b/src/core/lib/iomgr/port.h @@ -85,6 +85,10 @@ #define GRPC_LINUX_SOCKETUTILS 1 #endif #endif +#ifndef __GLIBC__ +#define GRPC_LINUX_EPOLL 1 +#define GRPC_LINUX_EVENTFD 1 +#endif #ifndef GRPC_LINUX_EVENTFD #define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1 #endif |