Windows: no SOCKLEN_T before WDK 6.0

Change-Id: Idc63e28385b85e808b4391bc897863c792584c70
Reviewed-on: http://gerrit.openafs.org/5433
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2011-09-15 01:26:00 -04:00 committed by Jeffrey Altman
parent b91d39edec
commit 3f3fedecd0

View File

@ -200,7 +200,8 @@
#endif
/* Windows does not provide socklen_t prior to WDK 6.0 */
#undef HAVE_SOCKLEN_T
#define HAVE_SOCKLEN_T 1
typedef int socklen_t;
#if (_MSC_VER < 1400)
typedef int errno_t;