From 8ec3f17d79cc3df7c80743302212dfdfa95f9c50 Mon Sep 17 00:00:00 2001 From: rmax Date: Thu, 1 Aug 2002 13:05:30 +0000 Subject: * win/tclWinPort.h: The windows headers don't provide socklen_t, so we have to do it. --- ChangeLog | 5 +++++ win/tclWinPort.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3efb602..ea49edd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-08-01 Reinhard Max + + * win/tclWinPort.h: The windows headers don't provide socklen_t, + so we have to do it. + 2002-07-31 Miguel Sofer * generic/tclInt.h (USE_THREAD_ALLOC): for unshared objects, diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 951d2e7..845c217 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinPort.h,v 1.31 2002/06/12 09:28:59 vincentdarley Exp $ + * RCS: @(#) $Id: tclWinPort.h,v 1.32 2002/08/01 13:05:31 rmax Exp $ */ #ifndef _TCLWINPORT @@ -442,6 +442,9 @@ #define getsockopt TclWinGetSockOpt #define ntohs TclWinNToHS #define setsockopt TclWinSetSockOpt +/* This type is not defined in the Windows headers */ +#define socklen_t int + /* * The following macros have trivial definitions, allowing generic code to -- cgit v0.12