diff --git a/deps/cares/cares.gyp b/deps/cares/cares.gyp index be7931f7743db1..0b5cd02c21dde1 100644 --- a/deps/cares/cares.gyp +++ b/deps/cares/cares.gyp @@ -112,7 +112,10 @@ 'defines': [ 'CARES_BUILDING_LIBRARY' ] }], [ 'OS=="win"', { - 'defines': [ 'CARES_PULL_WS2TCPIP_H=1' ], + 'defines': [ + 'CARES_PULL_WS2TCPIP_H=1', + '_WINSOCK_DEPRECATED_NO_WARNINGS', + ], 'include_dirs': [ 'config/win32' ], 'sources': [ 'src/config-win32.h', diff --git a/deps/openssl/openssl_common.gypi b/deps/openssl/openssl_common.gypi index 93b87064b3fb3e..d866630f444291 100644 --- a/deps/openssl/openssl_common.gypi +++ b/deps/openssl/openssl_common.gypi @@ -32,6 +32,7 @@ 'cflags': [ '-W3', '-wd4090', '-Gs0', '-GF', '-Gy', '-nologo','/O2', ], + 'msvs_disabled_warnings': [4090], 'link_settings': { 'libraries': [ '-lws2_32.lib',