summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-11 20:32:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-11 20:32:48 (GMT)
commit8e7a963f7fb10cc556337a18a652fd0c78c51029 (patch)
treea88544233a4bc1362697ed19312f29758138a7b2 /win/tclWinChan.c
parent3e3f2b135495753cad09a1f4bcaec5e460557e6f (diff)
downloadtcl-8e7a963f7fb10cc556337a18a652fd0c78c51029.zip
tcl-8e7a963f7fb10cc556337a18a652fd0c78c51029.tar.gz
tcl-8e7a963f7fb10cc556337a18a652fd0c78c51029.tar.bz2
Change TCHAR -> WCHAR in many places, since that's what it is since Windows NT
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r--win/tclWinChan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index 8c47be6..dcd8528 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -96,7 +96,7 @@ static void FileThreadActionProc(ClientData instanceData,
static int FileTruncateProc(ClientData instanceData,
Tcl_WideInt length);
static DWORD FileGetType(HANDLE handle);
-static int NativeIsComPort(const TCHAR *nativeName);
+static int NativeIsComPort(const WCHAR *nativeName);
/*
* This structure describes the channel type structure for file based IO.
@@ -849,7 +849,7 @@ TclpOpenFileChannel(
Tcl_Channel channel = 0;
int channelPermissions = 0;
DWORD accessMode = 0, createMode, shareMode, flags;
- const TCHAR *nativeName;
+ const WCHAR *nativeName;
HANDLE handle;
char channelName[16 + TCL_INTEGER_SPACE];
TclFile readFile = NULL, writeFile = NULL;
@@ -1557,7 +1557,7 @@ FileGetType(
static int
NativeIsComPort(
- const TCHAR *nativePath) /* Path of file to access, native encoding. */
+ const WCHAR *nativePath) /* Path of file to access, native encoding. */
{
const WCHAR *p = (const WCHAR *) nativePath;
int i, len = wcslen(p);