Add compilation guards for posix only code

pull/5419/head
Craig Tiller 9 years ago
parent f45496fdb0
commit 00d450a81c
  1. 6
      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

Loading…
Cancel
Save