diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-01-09 13:34:53 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-01-09 13:34:53 -0800 |
commit | e9a253477d06041b6cd137dd0b40c4e2bc658563 (patch) | |
tree | 8ce40c2f7dd20828524a522499ddc0d9da2ed588 /include | |
parent | a6899be634fe59309c8db4be1f3c6b14b9ace6fd (diff) |
Fix win32 build error.
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/support/port_platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h index 27a7b5529f..978b337724 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h @@ -126,7 +126,7 @@ #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #endif -#if defined(GPR_CPU_LINUX) + defined(GPR_CPU_POSIX) != 1 +#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 #endif |