diff options
author | kennykb <kennykb@noemail.net> | 2010-11-04 23:56:05 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2010-11-04 23:56:05 (GMT) |
commit | 2a4a79726cc6a12cd6ec00a7e9394560ff568d10 (patch) | |
tree | dca47bf0eb34a6694f7bca8f469cb8e859c2f9cc /generic/tclMain.c | |
parent | 3e30f0b03ddd557f9455bf7a542409cd437ea129 (diff) | |
download | tcl-2a4a79726cc6a12cd6ec00a7e9394560ff568d10.zip tcl-2a4a79726cc6a12cd6ec00a7e9394560ff568d10.tar.gz tcl-2a4a79726cc6a12cd6ec00a7e9394560ff568d10.tar.bz2 |
* generic/tclMain.c: Added missing conditional on _WIN32 around code
that messes around with the definition of _UNICODE, to correct a badly
broken Unix build from Jan's last commit.
FossilOrigin-Name: 4bff967054baedd51df96f213b36ba75bd2548d2
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r-- | generic/tclMain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c index 93db15b..2695e6f 100644 --- a/generic/tclMain.c +++ b/generic/tclMain.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMain.c,v 1.53 2010/11/04 21:48:23 nijtmans Exp $ + * RCS: @(#) $Id: tclMain.c,v 1.54 2010/11/04 23:56:07 kennykb Exp $ */ /** @@ -18,7 +18,7 @@ * TCL_ASCII_MAIN defined. This way both Tcl_Main and Tcl_MainExW * can be implemented, sharing the same source code. */ -#ifndef TCL_ASCII_MAIN +#if defined(_WIN32) && !defined(TCL_ASCII_MAIN) # ifdef UNICODE # undef UNICODE # undef _UNICODE |