Commit 27fe4898 authored by Pieter Hintjens's avatar Pieter Hintjens

Problem: VC++ gives warnings on inet_addr

Solution: in project.gyp, define _WINSOCK_DEPRECATED_NO_WARNINGS
parent b2025980
...@@ -26,7 +26,8 @@ ...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment