0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

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_STATIC',
'FD_SETSIZE=16384',
'_CRT_SECURE_NO_WARNINGS'
'_CRT_SECURE_NO_WARNINGS',
'_WINSOCK_DEPRECATED_NO_WARNINGS'
],
'libraries': [
'ws2_32',