Commit 4b6fe28a authored by Steve Lhomme's avatar Steve Lhomme

avoid declaration collision on MSVC

parent 3f17fb6c
...@@ -54,7 +54,9 @@ ...@@ -54,7 +54,9 @@
# include <winsock2.h> # include <winsock2.h>
# include <ws2tcpip.h> # include <ws2tcpip.h>
# include <iphlpapi.h> # include <iphlpapi.h>
# if !defined(INCL_WINSOCK_API_PROTOTYPES)
# define close closesocket # define close closesocket
# endif
# if defined(UNDER_CE) # if defined(UNDER_CE)
# undef IP_MULTICAST_TTL # undef IP_MULTICAST_TTL
# define IP_MULTICAST_TTL 3 # define IP_MULTICAST_TTL 3
......
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