diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-01-10 14:02:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-01-10 14:02:03 (GMT) |
commit | 48d6a20861f95be856bef0e780c054757c9c3803 (patch) | |
tree | 39db34fe5a67b052bf5af3a728c43b10b954bfd5 /generic/tclIntPlatDecls.h | |
parent | 498f069f0e0b2f665d04a2a3b1b691f53297fe2c (diff) | |
download | tcl-48d6a20861f95be856bef0e780c054757c9c3803.zip tcl-48d6a20861f95be856bef0e780c054757c9c3803.tar.gz tcl-48d6a20861f95be856bef0e780c054757c9c3803.tar.bz2 |
Re-implement Tcl_WinTCharToUtf/Tcl_WinUtfToTChar in pure win32 api, even for TCL_UTF_MAX=3. We can do that now safely, because of the changed handling of valid 4-byte UTF-8 characters in the previous commit.
Diffstat (limited to 'generic/tclIntPlatDecls.h')
-rw-r--r-- | generic/tclIntPlatDecls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h index 1222cee..ada1d2b 100644 --- a/generic/tclIntPlatDecls.h +++ b/generic/tclIntPlatDecls.h @@ -549,6 +549,10 @@ extern const TclIntPlatStubs *tclIntPlatStubsPtr; #define TclWinConvertWSAError TclWinConvertError #undef TclpInetNtoa #define TclpInetNtoa inet_ntoa +#undef TclWinResetInterfaces +#define TclWinResetInterfaces() /* nop */ +#undef TclWinSetInterfaces +#define TclWinSetInterfaces(dummy) /* nop */ #if defined(_WIN32) # undef TclWinNToHS |