diff options
author | Mehrdad Afshari <mmx@google.com> | 2018-01-17 15:37:56 -0800 |
---|---|---|
committer | Mehrdad Afshari <mmx@google.com> | 2018-01-17 16:41:35 -0800 |
commit | fb66900a9ab7729d22aa83a0e60cb80ec8e642c6 (patch) | |
tree | 672c6999231dcf0bdcbf2b9a7cea60083d2955c8 /test/core | |
parent | 8b0e9fb17edab249f41391d877d8d03961f4f7ee (diff) |
Eliminate GRPC_LINUX_LEGACY_EPOLL
Rename:
GRPC_LINUX_LEGACY_EPOLL to GRPC_LINUX_EPOLL, and
GRPC_LINUX_EPOLL to GRPC_LINUX_EPOLL_CREATE1
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/iomgr/ev_epollsig_linux_test.cc | 6 | ||||
-rw-r--r-- | test/core/iomgr/pollset_set_test.cc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/core/iomgr/ev_epollsig_linux_test.cc b/test/core/iomgr/ev_epollsig_linux_test.cc index e767e01f21..262470300e 100644 --- a/test/core/iomgr/ev_epollsig_linux_test.cc +++ b/test/core/iomgr/ev_epollsig_linux_test.cc @@ -18,7 +18,7 @@ #include "src/core/lib/iomgr/port.h" /* This test only relevant on linux systems where epoll() is available */ -#ifdef GRPC_LINUX_EPOLL +#ifdef GRPC_LINUX_EPOLL_CREATE1 #include "src/core/lib/iomgr/ev_epollsig_linux.h" #include "src/core/lib/iomgr/ev_posix.h" @@ -319,6 +319,6 @@ int main(int argc, char** argv) { grpc_shutdown(); return 0; } -#else /* defined(GRPC_LINUX_EPOLL) */ +#else /* defined(GRPC_LINUX_EPOLL_CREATE1) */ int main(int argc, char** argv) { return 0; } -#endif /* !defined(GRPC_LINUX_EPOLL) */ +#endif /* !defined(GRPC_LINUX_EPOLL_CREATE1) */ diff --git a/test/core/iomgr/pollset_set_test.cc b/test/core/iomgr/pollset_set_test.cc index f27079134b..7d2f59bed4 100644 --- a/test/core/iomgr/pollset_set_test.cc +++ b/test/core/iomgr/pollset_set_test.cc @@ -18,7 +18,7 @@ #include "src/core/lib/iomgr/port.h" /* This test only relevant on linux systems where epoll is available */ -#ifdef GRPC_LINUX_EPOLL +#ifdef GRPC_LINUX_EPOLL_CREATE1 #include <errno.h> #include <string.h> @@ -443,6 +443,6 @@ int main(int argc, char** argv) { grpc_shutdown(); return 0; } -#else /* defined(GRPC_LINUX_EPOLL) */ +#else /* defined(GRPC_LINUX_EPOLL_CREATE1) */ int main(int argc, char** argv) { return 0; } -#endif /* !defined(GRPC_LINUX_EPOLL) */ +#endif /* !defined(GRPC_LINUX_EPOLL_CREATE1) */ |