Skip to content

Commit

Permalink
Problem: VC++ gives warnings on inet_addr
Browse files Browse the repository at this point in the history
Solution: in project.gyp, define _WINSOCK_DEPRECATED_NO_WARNINGS
  • Loading branch information
hintjens committed Feb 18, 2016
1 parent b202598 commit 27fe489
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builds/gyp/project.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 27fe489

Please sign in to comment.