Skip to content
Snippets Groups Projects
Commit 00d450a8 authored by Craig Tiller's avatar Craig Tiller
Browse files

Add compilation guards for posix only code

parent f45496fd
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
* *
*/ */
#include <grpc/support/port_platform.h>
#ifdef GPR_POSIX_SOCKET
#include "src/core/lib/iomgr/ev_posix.h" #include "src/core/lib/iomgr/ev_posix.h"
#include <grpc/support/log.h> #include <grpc/support/log.h>
...@@ -157,3 +161,5 @@ void grpc_pollset_set_del_fd(grpc_exec_ctx *exec_ctx, ...@@ -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(); } void grpc_kick_poller(void) { g_event_engine->kick_poller(); }
#endif // GPR_POSIX_SOCKET
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment