Fix for the Windows build

Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634893
pull/3/merge
ctiller 10 years ago committed by Nicolas Noble
parent 4105e2b86c
commit 033afb3879
  1. 4
      include/grpc/support/port_platform.h

@ -126,8 +126,8 @@
#error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
#endif
#if defined(GPR_CPU_LINUX) + defined(GPR_CPU_POSIX) != 1
#error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX
#if defined(GPR_CPU_LINUX) + defined(GPR_CPU_POSIX) + defined(GPR_WIN32) != 1
#error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WIN32
#endif
typedef int16_t gpr_int16;

Loading…
Cancel
Save