From: Jeffrey Altman Date: Wed, 12 May 2010 14:22:07 +0000 (-0400) Subject: Windows: fix consistency of afsconfig-windows.h X-Git-Tag: openafs-devel-1_5_75~288 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=96868e5cda94ba3a11a8cbf3df98e7032198b239;p=packages%2Fo%2Fopenafs.git Windows: fix consistency of afsconfig-windows.h Windows is a AFS_NAMEI_ENV platform Windows (as of WDK 6) defines socklen_t as signed int Change-Id: I0aa549309d19c745e4df50d510c19f3174b1f2eb Reviewed-on: http://gerrit.openafs.org/1952 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/config/afsconfig-windows.h b/src/config/afsconfig-windows.h index 83b7f6e8a..d41eea84c 100644 --- a/src/config/afsconfig-windows.h +++ b/src/config/afsconfig-windows.h @@ -180,7 +180,7 @@ # endif #endif -#undef AFS_NAMEI_ENV +#define AFS_NAMEI_ENV 1 #undef FAST_RESTART #undef BITMAP_LATER @@ -196,5 +196,5 @@ #include "redhat-fix.h" #endif -/* Windows does not provide socklen_t */ -typedef unsigned int socklen_t; +/* Windows does not provide socklen_t prior to WDK 6.0 */ +typedef int socklen_t;