diff options
author | rmax <rmax> | 2002-08-01 13:05:30 (GMT) |
---|---|---|
committer | rmax <rmax> | 2002-08-01 13:05:30 (GMT) |
commit | 8ec3f17d79cc3df7c80743302212dfdfa95f9c50 (patch) | |
tree | 35fb3371e95ace03ad3a316b50e2f63bc00bc4a1 | |
parent | e96c13aa289ce583026f6b0549a9d0673df70769 (diff) | |
download | tcl-8ec3f17d79cc3df7c80743302212dfdfa95f9c50.zip tcl-8ec3f17d79cc3df7c80743302212dfdfa95f9c50.tar.gz tcl-8ec3f17d79cc3df7c80743302212dfdfa95f9c50.tar.bz2 |
* win/tclWinPort.h: The windows headers don't provide socklen_t,
so we have to do it.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | win/tclWinPort.h | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2002-08-01 Reinhard Max <max@suse.de> + + * win/tclWinPort.h: The windows headers don't provide socklen_t, + so we have to do it. + 2002-07-31 Miguel Sofer <msofer@users.sourceforge.net> * 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 |