diff options
author | Craig Tiller <ctiller@google.com> | 2016-02-04 15:06:41 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-02-04 15:06:41 -0800 |
commit | 71ea4a19550d96c4b4dfee0f56d45d5627e45672 (patch) | |
tree | 4a23cf93691ea3e525e90a9e1eaff7bffa75dacd /templates/binding.gyp.template | |
parent | e4fdcd924263edca885b22122e9e7cf148c236fd (diff) |
Make binary compatibility not the default
Diffstat (limited to 'templates/binding.gyp.template')
-rw-r--r-- | templates/binding.gyp.template | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/binding.gyp.template b/templates/binding.gyp.template index 7cee562caa..3ffbc06643 100644 --- a/templates/binding.gyp.template +++ b/templates/binding.gyp.template @@ -57,7 +57,8 @@ 'UNICODE', '_UNICODE', 'NOMINMAX', - 'OPENSSL_NO_ASM' + 'OPENSSL_NO_ASM', + 'GPR_BACKWARDS_COMPATIBILITY_MODE' ], "msvs_settings": { 'VCCLCompilerTool': { @@ -80,7 +81,8 @@ # supports ALPN. The target is "[major].[minor].[patch]". We split by # periods and take the first field to get the major version. 'defines': [ - 'TSI_OPENSSL_ALPN_SUPPORT=<!(echo <(target) | cut -d. -f1)' + 'TSI_OPENSSL_ALPN_SUPPORT=<!(echo <(target) | cut -d. -f1)', + 'GPR_BACKWARDS_COMPATIBILITY_MODE' ], 'include_dirs': [ '<(node_root_dir)/deps/openssl/openssl/include', |