summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-13 06:46:56 (GMT)
committernijtmans <nijtmans>2010-01-13 06:46:56 (GMT)
commit4823387a0b6e54dc2e2c9718e2b729224fb7260a (patch)
treeb75b8bc167a7e17a11d9b03e2f9f37e3ff845fde /unix
parent56d7490c09f06016e69f254acddad4390e66e924 (diff)
downloadtcl-4823387a0b6e54dc2e2c9718e2b729224fb7260a.zip
tcl-4823387a0b6e54dc2e2c9718e2b729224fb7260a.tar.gz
tcl-4823387a0b6e54dc2e2c9718e2b729224fb7260a.tar.bz2
Fix TCL_LL_MODIFIER for Cygwin
and various other minor CYGWIN compilation problems
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixChan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 209c51a..9b6cc95 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -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: tclUnixChan.c,v 1.104 2010/01/10 22:58:41 nijtmans Exp $
+ * RCS: @(#) $Id: tclUnixChan.c,v 1.105 2010/01/13 06:46:57 nijtmans Exp $
*/
#include "tclInt.h" /* Internal definitions for Tcl. */
@@ -1538,7 +1538,7 @@ TclpOpenFileChannel(
FileState *fsPtr;
const char *native, *translation;
char channelName[16 + TCL_INTEGER_SPACE];
- Tcl_ChannelType *channelTypePtr;
+ const Tcl_ChannelType *channelTypePtr;
switch (mode & (O_RDONLY | O_WRONLY | O_RDWR)) {
case O_RDONLY:
@@ -1664,7 +1664,7 @@ Tcl_MakeFileChannel(
FileState *fsPtr;
char channelName[16 + TCL_INTEGER_SPACE];
int fd = PTR2INT(handle);
- Tcl_ChannelType *channelTypePtr;
+ const Tcl_ChannelType *channelTypePtr;
struct sockaddr sockaddr;
socklen_t sockaddrLen = sizeof(sockaddr);