Merge pull request #4406 from ctiller/udp

Exclude UDP code for now
pull/4422/head
Craig Tiller 9 years ago
commit 2665f4f8b5
  1. 2
      src/core/iomgr/udp_server.c
  2. 8
      test/core/iomgr/udp_server_test.c

@ -38,6 +38,7 @@
#include <grpc/support/port_platform.h>
#ifdef GRPC_NEED_UDP
#ifdef GPR_POSIX_SOCKET
#include "src/core/iomgr/udp_server.h"
@ -435,3 +436,4 @@ void grpc_udp_server_write(server_port *sp, const char *buffer, size_t buf_len,
}
#endif
#endif

@ -43,6 +43,8 @@
#include <string.h>
#include <unistd.h>
#ifdef GRPC_NEED_UDP
#define LOG_TEST(x) gpr_log(GPR_INFO, "%s", #x)
static grpc_pollset g_pollset;
@ -195,3 +197,9 @@ int main(int argc, char **argv) {
grpc_iomgr_shutdown();
return 0;
}
#else
int main(int argc, char **argv) { return 0; }
#endif

Loading…
Cancel
Save