summaryrefslogtreecommitdiffstats
path: root/generic/tclIOSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-07 06:33:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-07 06:33:12 (GMT)
commite40e34cb04d940b132e66ccd21b3018a68ffe3f7 (patch)
treece636b6d780ba4a747644cdcc679f3359fe92bce /generic/tclIOSock.c
parent05859b921e7478bb5202dcc464028b7b25db7a43 (diff)
downloadtcl-e40e34cb04d940b132e66ccd21b3018a68ffe3f7.zip
tcl-e40e34cb04d940b132e66ccd21b3018a68ffe3f7.tar.gz
tcl-e40e34cb04d940b132e66ccd21b3018a68ffe3f7.tar.bz2
move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,
so it can be used for the Plat* interfaces as well
Diffstat (limited to 'generic/tclIOSock.c')
-rw-r--r--generic/tclIOSock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIOSock.c b/generic/tclIOSock.c
index 159f3da..1e57cc0 100644
--- a/generic/tclIOSock.c
+++ b/generic/tclIOSock.c
@@ -84,7 +84,7 @@ TclSockGetPort(interp, string, proto, portPtr)
*/
#undef TclSockMinimumBuffers
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__CYGWIN__)
# define SOCKET int
#endif