diff options
author | Yihua Zhang <yihuaz@google.com> | 2018-03-08 06:49:24 -0800 |
---|---|---|
committer | Yihua Zhang <yihuaz@google.com> | 2018-03-08 06:49:24 -0800 |
commit | 04fb58efbd62e11466b79dbdf4f1433cc2c75a89 (patch) | |
tree | cb3af2df9157a17f6f68367c7bc409c095a75627 /setup.py | |
parent | a5935917c535ffa0194a85ff062445912e49d790 (diff) |
Add ALTS code to grpc/core
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -118,6 +118,7 @@ if EXTRA_ENV_COMPILE_ARGS is None: EXTRA_ENV_COMPILE_ARGS += ' -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions' elif "darwin" in sys.platform: EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv -fno-exceptions' +EXTRA_ENV_COMPILE_ARGS += ' -DPB_FIELD_16BIT' if EXTRA_ENV_LINK_ARGS is None: EXTRA_ENV_LINK_ARGS = '' @@ -160,7 +161,7 @@ if "win32" in sys.platform: DEFINE_MACROS = ( ('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600), - ('GPR_BACKWARDS_COMPATIBILITY_MODE', 1),) + ('GPR_BACKWARDS_COMPATIBILITY_MODE', 1)) if "win32" in sys.platform: # TODO(zyc): Re-enble c-ares on x64 and x86 windows after fixing the # ares_library_init compilation issue |