summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-09 14:30:20 (GMT)
committernijtmans <nijtmans>2010-09-09 14:30:20 (GMT)
commitd1ed32ffcf622ff5726f978e7243ae775dcb70d5 (patch)
tree3a47e54eec14bb4a5223118b306c2a7f04c021f9 /win/tclWinPipe.c
parent88f1f1e8378e9842ed80c24e5d0c5bb29cd75cf6 (diff)
downloadtcl-d1ed32ffcf622ff5726f978e7243ae775dcb70d5.zip
tcl-d1ed32ffcf622ff5726f978e7243ae775dcb70d5.tar.gz
tcl-d1ed32ffcf622ff5726f978e7243ae775dcb70d5.tar.bz2
mingw should always link with -ladvapi32
Remove ascii variant of tkWinPocs table, it is no longer necessary. Fix CreateProcess signature and remove unused GetModuleFileName and lstrcpy mingw/cygwin fixes: <tchar.h> should always be included, and fix conflict in various macro values: Always force the same values as in VC++.
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r--win/tclWinPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 86c546b..a71e5af 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPipe.c,v 1.81 2010/08/30 09:19:38 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinPipe.c,v 1.82 2010/09/09 14:30:20 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -953,7 +953,7 @@ TclpCreateProcess(
{
int result, applType, createFlags;
Tcl_DString cmdLine; /* Complete command line (TCHAR). */
- STARTUPINFOA startInfo;
+ STARTUPINFO startInfo;
PROCESS_INFORMATION procInfo;
SECURITY_ATTRIBUTES secAtts;
HANDLE hProcess, h, inputHandle, outputHandle, errorHandle;