aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/config-win32.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 08cfd0d4c..14bd084fe 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -727,8 +727,12 @@ Vista
#define USE_WIN32_CRYPTO
/* Define to use Unix sockets. */
-#if defined(_MSC_VER) && _MSC_VER >= 1900
-/* #define USE_UNIX_SOCKETS */
+#if defined(_MSC_VER) && (_MSC_VER >= 1500)
+/* sdkddkver.h first shipped with Platform SDK v6.0A included with VS2008 */
+#include <sdkddkver.h>
+#if defined(NTDDI_WIN10_RS4)
+#define USE_UNIX_SOCKETS
+#endif
#endif
/* ---------------------------------------------------------------- */