Problem: VC++ gives warnings on inet_addr

Solution: in project.gyp, define _WINSOCK_DEPRECATED_NO_WARNINGS
This commit is contained in:
Pieter Hintjens 2016-02-18 11:46:43 +01:00
parent b20259809d
commit 27fe489843

View File

@ -26,7 +26,8 @@
'ZMQ_HAVE_WINDOWS', 'ZMQ_HAVE_WINDOWS',
'ZMQ_STATIC', 'ZMQ_STATIC',
'FD_SETSIZE=16384', 'FD_SETSIZE=16384',
'_CRT_SECURE_NO_WARNINGS' '_CRT_SECURE_NO_WARNINGS',
'_WINSOCK_DEPRECATED_NO_WARNINGS'
], ],
'libraries': [ 'libraries': [
'ws2_32', 'ws2_32',