diff options
author | 2017-01-24 09:40:21 -0800 | |
---|---|---|
committer | 2017-01-24 09:40:21 -0800 | |
commit | 45a520f51fb020e5bff992b71efa702d812134db (patch) | |
tree | d68265f5b0ccb024ce4a8068fb15c2d8b8fe3a32 /include | |
parent | 196fdc422c4f8d017a22c3465fda8606a2d1ee07 (diff) |
Special case Python build for inet_ntop
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/impl/codegen/port_platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h index 4633fa12e8..e565cd31d7 100644 --- a/include/grpc/impl/codegen/port_platform.h +++ b/include/grpc/impl/codegen/port_platform.h @@ -297,6 +297,10 @@ #endif #ifdef _MSC_VER +#ifdef _PYTHON_MSVC +// The Python 3.5 Windows runtime is missing InetNtop +#define GPR_WIN_INET_NTOP +#endif // _PYTHON_MSVC #if _MSC_VER < 1700 typedef __int8 int8_t; typedef __int16 int16_t; |