diff options
author | Viktor Szakats <commit@vsz.me> | 2020-04-04 17:49:20 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2020-04-04 17:53:15 +0000 |
commit | 23a870f2fd041278762ecf819cd1467019588c58 (patch) | |
tree | 946c12091003e1978e1a32a805d7e68bdcf19105 /lib/curl_addrinfo.c | |
parent | 0c511b44ffd9fa93a791d6e16fc9a0076091f5b2 (diff) | |
download | curl-23a870f2fd041278762ecf819cd1467019588c58.tar.gz |
windows: enable UnixSockets with all build toolchains
Extend existing unix socket support in Windows builds to be
enabled for all toolchain vendors or versions. (Previously
it was only supported with certain MSVC versions + more recent
Windows 10 SDKs)
Ref: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/
Ref: https://github.com/curl/curl/issues/5162
Closes: https://github.com/curl/curl/pull/5170
Diffstat (limited to 'lib/curl_addrinfo.c')
-rw-r--r-- | lib/curl_addrinfo.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/curl_addrinfo.c b/lib/curl_addrinfo.c index 16c4779c1..b2dd83423 100644 --- a/lib/curl_addrinfo.c +++ b/lib/curl_addrinfo.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -50,10 +50,6 @@ # define in_addr_t unsigned long #endif -#if defined(WIN32) && defined(USE_UNIX_SOCKETS) -#include <afunix.h> -#endif - #include <stddef.h> #include "curl_addrinfo.h" |