File Info

Rev. 2af31d809b5b1a7920472fdfb1645186830ac141
Size 1,178 bytes
Time 2021-12-12 23:10:44
Author simphone
Log Message

simphone 0.8.2

Content

diff -urb c-ares-1.18.1/src/lib/ares__addrinfo_localhost.c cares/src/lib/ares__addrinfo_localhost.c
--- c-ares-1.18.1/src/lib/ares__addrinfo_localhost.c
+++ cares/src/lib/ares__addrinfo_localhost.c
@@ -131,7 +131,7 @@
                                        unsigned short port,
                                        struct ares_addrinfo_node **nodes)
 {
-#if defined(_WIN32) && defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0600
+#if defined(_WIN32) && defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0601
   PMIB_UNICASTIPADDRESS_TABLE table;
   unsigned int i;
   int status;
diff -urb c-ares-1.18.1/src/lib/ares_process.c cares/src/lib/ares_process.c
--- c-ares-1.18.1/src/lib/ares_process.c
+++ cares/src/lib/ares_process.c
@@ -459,14 +459,12 @@
   int i;
   ares_ssize_t count;
   unsigned char buf[MAXENDSSZ + 1];
-#ifdef HAVE_RECVFROM
   ares_socklen_t fromlen;
   union {
     struct sockaddr     sa;
     struct sockaddr_in  sa4;
     struct sockaddr_in6 sa6;
   } from;
-#endif
 
   if(!read_fds && (read_fd == ARES_SOCKET_BAD))
     /* no possible action */
diff -urb /dev/null cares/test/Makefile
--- /dev/null
+++ cares/test/Makefile
@@ -0,0 +1,2 @@
+clean:
+distclean:
Show on old repository browser