summaryrefslogtreecommitdiffstats
path: root/generic/tclEncoding.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-16 14:49:37 (GMT)
committernijtmans <nijtmans>2010-09-16 14:49:37 (GMT)
commit5817de92b6e25bf3e19ff91d3fd006717526a6c7 (patch)
tree09e3deddc87e3b0f9ead316af857ae1d4c5b4213 /generic/tclEncoding.c
parent555bbc4fc9ae1d18813578c9479915349bd81591 (diff)
downloadtcl-5817de92b6e25bf3e19ff91d3fd006717526a6c7.zip
tcl-5817de92b6e25bf3e19ff91d3fd006717526a6c7.tar.gz
tcl-5817de92b6e25bf3e19ff91d3fd006717526a6c7.tar.bz2
Make Tcl_FindExecutable() work in UNICODE compiles (windows-only) as well as ASCII.
Needed for [FRQ 491789]: setargv() doesn't support a unicode cmdline
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r--generic/tclEncoding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c
index a9d60ff..11e0c9c 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEncoding.c,v 1.71 2010/08/22 18:53:26 nijtmans Exp $
+ * RCS: @(#) $Id: tclEncoding.c,v 1.72 2010/09/16 14:49:37 nijtmans Exp $
*/
#include "tclInt.h"
@@ -1427,7 +1427,7 @@ Tcl_UtfToExternal(
*
*---------------------------------------------------------------------------
*/
-
+#undef Tcl_FindExecutable
void
Tcl_FindExecutable(
const char *argv0) /* The value of the application's argv[0]