aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/impl/codegen/port_platform.h
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-08-08 17:31:27 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-08-08 17:31:27 -0700
commit623dd4f55624b2fc09848141ab095bf6fe5c6cb2 (patch)
tree024173281a3da5e8b2b5b56779407e46d730e4ad /include/grpc/impl/codegen/port_platform.h
parent5407089b37581b010504171d939f5a3238411027 (diff)
Renamed GPR_ constants to GRPC_ in iomgr/port.h
Diffstat (limited to 'include/grpc/impl/codegen/port_platform.h')
-rw-r--r--include/grpc/impl/codegen/port_platform.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index 1aeda9b658..f65f56db87 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -178,8 +178,8 @@
#define GPR_LINUX_LOG
#define GPR_SUPPORT_CHANNELS_FROM_FD 1
#define GPR_LINUX_ENV 1
-#ifndef GPR_LINUX_EVENTFD
-#define GPR_POSIX_NO_SPECIAL_WAKEUP_FD 1
+#ifndef GRPC_LINUX_EVENTFD
+#define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1
#endif
#define GPR_POSIX_FILE 1
#define GPR_POSIX_TMPFILE 1
@@ -348,10 +348,6 @@ typedef unsigned __int64 uint64_t;
#error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
#endif
-#if defined(GPR_POSIX_MULTIPOLL_WITH_POLL) && !defined(GPR_POSIX_SOCKET)
-#error Must define GPR_POSIX_SOCKET to use GPR_POSIX_MULTIPOLL_WITH_POLL
-#endif
-
#if defined(GPR_MSVC_TLS) + defined(GPR_GCC_TLS) + defined(GPR_PTHREAD_TLS) + \
defined(GPR_CUSTOM_TLS) != \
1