From: Gisle Vanem Date: Tue, 8 Dec 2015 00:05:42 +0000 (-0500) Subject: config-win32: Fix warning HAVE_WINSOCK2_H undefined X-Git-Tag: curl-7_47_0~100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c2a10e9634840f5e2fc4c40da081357fe55d6f7;p=thirdparty%2Fcurl.git config-win32: Fix warning HAVE_WINSOCK2_H undefined --- diff --git a/lib/config-win32.h b/lib/config-win32.h index 4f59791883..1e6330463a 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