summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorrmax <rmax>2002-08-01 13:05:30 (GMT)
committerrmax <rmax>2002-08-01 13:05:30 (GMT)
commit8ec3f17d79cc3df7c80743302212dfdfa95f9c50 (patch)
tree35fb3371e95ace03ad3a316b50e2f63bc00bc4a1 /win/tclWinPort.h
parente96c13aa289ce583026f6b0549a9d0673df70769 (diff)
downloadtcl-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/tclWinPort.h')
-rw-r--r--win/tclWinPort.h5
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