From 033afb3879eba2d2e06091aa496b54066bddee07 Mon Sep 17 00:00:00 2001 From: ctiller <ctiller@google.com> Date: Fri, 9 Jan 2015 14:21:08 -0800 Subject: [PATCH] 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 --- include/grpc/support/port_platform.h | 4 ++-- 1 file 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; -- GitLab