diff options
author | Craig Tiller <ctiller@google.com> | 2016-03-30 16:57:24 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-03-30 16:57:24 -0700 |
commit | 00d450a81c2e7fc676a318ff56de74d6b5c57c53 (patch) | |
tree | e86acae356437a17be03abbe352759fc438ec36d /src/core/lib | |
parent | f45496fdb040fed2aaeda087d0cdc8ba70b2ce07 (diff) |
Add compilation guards for posix only code
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/iomgr/ev_posix.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_posix.c b/src/core/lib/iomgr/ev_posix.c index 0d16d6ac38..235a7df08d 100644 --- a/src/core/lib/iomgr/ev_posix.c +++ b/src/core/lib/iomgr/ev_posix.c @@ -31,6 +31,10 @@ * */ +#include <grpc/support/port_platform.h> + +#ifdef GPR_POSIX_SOCKET + #include "src/core/lib/iomgr/ev_posix.h" #include <grpc/support/log.h> @@ -157,3 +161,5 @@ void grpc_pollset_set_del_fd(grpc_exec_ctx *exec_ctx, } void grpc_kick_poller(void) { g_event_engine->kick_poller(); } + +#endif // GPR_POSIX_SOCKET |