summaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@yahoo.no>2015-12-07 19:05:42 -0500
committerJay Satiro <raysatiro@yahoo.com>2015-12-07 19:07:51 -0500
commit6c2a10e9634840f5e2fc4c40da081357fe55d6f7 (patch)
treef9c2c1ced52ae0df8768e32a34e7bfee8e055a03 /lib/config-win32.h
parentdf40b20e444ede5dc4e93073fa740eeb52f7bed2 (diff)
downloadcurl-6c2a10e9634840f5e2fc4c40da081357fe55d6f7.tar.gz
config-win32: Fix warning HAVE_WINSOCK2_H undefined
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 4f5979188..1e6330463 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -627,7 +627,8 @@ Vista
/* Define if struct sockaddr_in6 has the sin6_scope_id member. */
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
-#if HAVE_WINSOCK2_H && defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600)
+#if defined(HAVE_WINSOCK2_H) && defined(_WIN32_WINNT) && \
+ (_WIN32_WINNT >= 0x0600)
#define HAVE_STRUCT_POLLFD 1
#endif