aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-04-01 13:54:44 -0700
committerGravatar Yang Gao <yangg@google.com>2015-04-01 13:54:44 -0700
commit5a5032dd4ce43aed1330ad31430f8c9b3e833a72 (patch)
tree979261faf0a538c8943724e2deb74f54c8b5411f /include
parent1bd4736527ca691217b56e8287e4121a9d4fc684 (diff)
Add a macro to enable replacing the default with a custom port picker
Diffstat (limited to 'include')
-rw-r--r--include/grpc/support/port_platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h
index 9b639cf82d..41185dbf64 100644
--- a/include/grpc/support/port_platform.h
+++ b/include/grpc/support/port_platform.h
@@ -199,7 +199,7 @@
#endif
#if defined(GPR_POSIX_SOCKET) + defined(GPR_WIN32) != 1
-#error Must define exactly one of GPR_POSIX_POLLSET, GPR_WIN32
+#error Must define exactly one of GPR_POSIX_SOCKET, GPR_WIN32
#endif
typedef int16_t gpr_int16;