summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-04-18 21:38:50 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-04-18 21:38:50 (GMT)
commitf0d0884f48e41e0c38d424a48037709f7a4917e0 (patch)
tree21613b0eb89c7761720b11b131e69e333052ed9b /generic/tclStubInit.c
parent6e88f46369735979af46d8a1fa1a3a0df8fb572e (diff)
downloadtcl-f0d0884f48e41e0c38d424a48037709f7a4917e0.zip
tcl-f0d0884f48e41e0c38d424a48037709f7a4917e0.tar.gz
tcl-f0d0884f48e41e0c38d424a48037709f7a4917e0.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