aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2018-02-07 21:33:57 +0000
committerSteve Holme <steve_holme@hotmail.com>2018-02-07 21:33:57 +0000
commit0fd6221f8c457e7bf5e5e7bb142676927a6a6709 (patch)
tree71a52255b83f6090e2b4bdf510965813f0bb3c48 /lib/config-win32.h
parenta0984eae14b2840a470800bb1bfb18bd99dc302b (diff)
curl_addrinfo.c: Allow Unix Domain Sockets to compile under Windows
Windows 10.0.17061 SDK introduces support for Unix Domain Sockets. Added the necessary include file to curl_addrinfo.c. Note: The SDK (which is considered beta) has to be installed, VS 2017 project file has to be re-targeted for Windows 10.0.17061 and #define enabled in config-win32.h.
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 3e5567df2..fdac6f9a2 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, 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
@@ -708,6 +708,11 @@ Vista
/* Define to use the Windows crypto library. */
#define USE_WIN32_CRYPTO
+/* Define to use Unix sockets. */
+#if defined(_MSC_VER) && _MSC_VER >= 1900
+/* #define USE_UNIX_SOCKETS */
+#endif
+
/* ---------------------------------------------------------------- */
/* ADDITIONAL DEFINITIONS */
/* ---------------------------------------------------------------- */