From 27fe489843b4164d3ad19e934882771a16ad9b4d Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Thu, 18 Feb 2016 11:46:43 +0100 Subject: [PATCH] Problem: VC++ gives warnings on inet_addr Solution: in project.gyp, define _WINSOCK_DEPRECATED_NO_WARNINGS --- builds/gyp/project.gyp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builds/gyp/project.gyp b/builds/gyp/project.gyp index 58c0a105..a132c902 100644 --- a/builds/gyp/project.gyp +++ b/builds/gyp/project.gyp @@ -26,7 +26,8 @@ 'ZMQ_HAVE_WINDOWS', 'ZMQ_STATIC', 'FD_SETSIZE=16384', - '_CRT_SECURE_NO_WARNINGS' + '_CRT_SECURE_NO_WARNINGS', + '_WINSOCK_DEPRECATED_NO_WARNINGS' ], 'libraries': [ 'ws2_32',