summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2003-11-11 08:24:55 (GMT)
committerdavygrvy <davygrvy@pobox.com>2003-11-11 08:24:55 (GMT)
commit8253efcd708cb00d57c7c42e1bd63dff9f4749a5 (patch)
treebb8e05005330e2e2f6a5de72e11561581028355c /unix
parentcb5c86b8a76dfadd445e7a9c45be06b4831260bb (diff)
downloadtcl-8253efcd708cb00d57c7c42e1bd63dff9f4749a5.zip
tcl-8253efcd708cb00d57c7c42e1bd63dff9f4749a5.tar.gz
tcl-8253efcd708cb00d57c7c42e1bd63dff9f4749a5.tar.bz2
added socklen_t typedef for DJGPP
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPort.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 1290207..eee9d71 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixPort.h,v 1.29 2003/06/24 08:53:30 mdejong Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.30 2003/11/11 08:24:55 davygrvy Exp $
*/
#ifndef _TCLUNIXPORT
@@ -518,6 +518,7 @@ extern double strtod();
#ifdef DJGPP
#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_CRLF
+typedef int socklen_t;
#else
#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_LF
#endif