summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 9bfce36..73e8765 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -69,6 +69,10 @@
# undef Tcl_WinConvertError
# define Tcl_WinConvertError 0
#endif
+#if !defined(_WIN32) /* TODO: implement for Cygwin too */
+# undef TclWinGetUserEncoding
+# define TclWinGetUserEncoding 0
+#endif
#undef TclGetStringFromObj
#if defined(TCL_NO_DEPRECATED)
# define TclGetStringFromObj 0
@@ -692,7 +696,7 @@ static const TclIntPlatStubs tclIntPlatStubs = {
TclpOpenFile, /* 7 */
TclpGetPid, /* 8 */
TclpCreateTempFile, /* 9 */
- 0, /* 10 */
+ TclWinGetUserEncoding, /* 10 */
TclGetAndDetachPids, /* 11 */
0, /* 12 */
0, /* 13 */