mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +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_STATIC',
|
||||
'FD_SETSIZE=16384',
|
||||
'_CRT_SECURE_NO_WARNINGS'
|
||||
'_CRT_SECURE_NO_WARNINGS',
|
||||
'_WINSOCK_DEPRECATED_NO_WARNINGS'
|
||||
],
|
||||
'libraries': [
|
||||
'ws2_32',
|
||||
|
Loading…
x
Reference in New Issue
Block a user