From 96868e5cda94ba3a11a8cbf3df98e7032198b239 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 12 May 2010 10:22:07 -0400 Subject: [PATCH] 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 --- src/config/afsconfig-windows.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5