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 /win | |
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.
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinPort.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |