mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-28 07:58:14 +08:00
Problem: VC++ gives warnings on inet_addr
Solution: in project.gyp, define _WINSOCK_DEPRECATED_NO_WARNINGS
This commit is contained in:
parent
b20259809d
commit
27fe489843
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user