summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--win/tclWinPort.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3efb602..ea49edd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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