diff --git a/inet_ntop.c b/inet_ntop.c index 725ce276b9..0e38365ad6 100644 --- a/inet_ntop.c +++ b/inet_ntop.c @@ -35,8 +35,8 @@ #endif #ifdef HAVE_WINSOCK2_H -#include /* needed to define AF_ values on Windows */ -#if _MSC_VER < 1600 /* Windows VC10 (and presumably newer) errno.h defines EAFNOSUPPORT */ +#include /* needed to define AF_ values on Windows */ +#if _MSC_VER < 1600 /* errno.h defines EAFNOSUPPORT in Windows VC10 (and presumably eventually in VC11 ...) */ #define EAFNOSUPPORT WSAEAFNOSUPPORT #endif #endif diff --git a/inet_pton.c b/inet_pton.c index 4d870edab4..bfa2535f3e 100644 --- a/inet_pton.c +++ b/inet_pton.c @@ -34,8 +34,8 @@ #endif #ifdef HAVE_WINSOCK2_H -#include /* needed to define AF_ values on Windows */ -#if _MSC_VER < 1600 /* Windows VC10 (and presumably newer) errno.h defines EAFNOSUPPORT */ +#include /* needed to define AF_ values on Windows */ +#if _MSC_VER < 1600 /* errno.h defines EAFNOSUPPORT in Windows VC10 (and presumably eventually in VC11 ...) */ #define EAFNOSUPPORT WSAEAFNOSUPPORT #endif #endif