Sundry fixes

pull/5064/head
Masood Malekghassemi 9 years ago committed by Nicolas "Pixel" Noble
parent df1e07e5c1
commit c9c53eeba5
  1. 2
      setup.py
  2. 2
      src/python/grpcio/grpc/_cython/loader.c

@ -88,7 +88,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
(PYTHON_STEM,) + CORE_INCLUDE + BORINGSSL_INCLUDE + ZLIB_INCLUDE) (PYTHON_STEM,) + CORE_INCLUDE + BORINGSSL_INCLUDE + ZLIB_INCLUDE)
EXTENSION_LIBRARIES = ('m',) EXTENSION_LIBRARIES = ('m',)
if not "darwin" in sys.platform and not "win32" in sys.platform: if "linux" in sys.platform:
EXTENSION_LIBRARIES += ('rt',) EXTENSION_LIBRARIES += ('rt',)
DEFINE_MACROS = (('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600)) DEFINE_MACROS = (('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600))

@ -31,6 +31,8 @@
* *
*/ */
#include "loader.h"
#if GPR_WIN32 #if GPR_WIN32
#include <tchar.h> #include <tchar.h>

Loading…
Cancel
Save