summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 21:38:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 21:38:50 (GMT)
commitbb146c387f42e478b1d8ffbc8617988fb572587c (patch)
tree21613b0eb89c7761720b11b131e69e333052ed9b /generic/tclStubInit.c
parentc15c9e5f26e373ec9674b39dc42d2c3500c65b5c (diff)
downloadtcl-bb146c387f42e478b1d8ffbc8617988fb572587c.zip
tcl-bb146c387f42e478b1d8ffbc8617988fb572587c.tar.gz
tcl-bb146c387f42e478b1d8ffbc8617988fb572587c.tar.bz2
make some more internal tables CONST
fix compilation with -DNO_CONST
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index a5408f4..7fa070b 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -181,7 +181,7 @@ Tcl_WinTCharToUtf(
# define TclWinGetPlatformId (int (*)()) TclpCreateTempFile
# define TclWinGetTclInstance (void *(*)()) TclpCreateProcess
# define TclWinNToHS (unsigned short (*) _ANSI_ARGS_((unsigned short ns))) TclpMakeFile
-# define TclWinSetSockOpt (int (*) _ANSI_ARGS_((void *, int, int, const char *, int))) TclpOpenFile
+# define TclWinSetSockOpt (int (*) _ANSI_ARGS_((void *, int, int, CONST char *, int))) TclpOpenFile
# define TclWinAddProcess 0
# define TclWinNoBackslash 0
# define TclWinSetInterfaces 0