aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ctiller <ctiller@google.com>2015-01-09 14:21:08 -0800
committerGravatar Nicolas Noble <nnoble@google.com>2015-01-12 11:22:02 -0800
commit033afb3879eba2d2e06091aa496b54066bddee07 (patch)
tree9771776120539e1d13eb6e77afca62d136ff93c9
parent4105e2b86c91ecc3687def3abcbb602bee894b0a (diff)
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
-rw-r--r--include/grpc/support/port_platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h
index 27a7b5529f..9c999b9c81 100644
--- a/include/grpc/support/port_platform.h
+++ b/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;