summaryrefslogtreecommitdiffstats
path: root/win/winMain.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-10-11 21:50:46 (GMT)
committernijtmans <nijtmans>2010-10-11 21:50:46 (GMT)
commiteac7d6560603161bdf15eff58f8e556341cd9a50 (patch)
tree8444a245a1b8372dd13e16eb7ccc5a955a5ae727 /win/winMain.c
parentaff4deb1051f578be23a9c8449439e912d976c08 (diff)
downloadtk-eac7d6560603161bdf15eff58f8e556341cd9a50.zip
tk-eac7d6560603161bdf15eff58f8e556341cd9a50.tar.gz
tk-eac7d6560603161bdf15eff58f8e556341cd9a50.tar.bz2
[FRQ 491789]: "setargv() doesn't support a unicode
cmdline" implemented for Tk on MSVC++
Diffstat (limited to 'win/winMain.c')
-rw-r--r--win/winMain.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/win/winMain.c b/win/winMain.c
index 5abaeb3..8e98168 100644
--- a/win/winMain.c
+++ b/win/winMain.c
@@ -11,14 +11,14 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: winMain.c,v 1.33 2010/09/23 21:45:14 nijtmans Exp $
+ * RCS: @(#) $Id: winMain.c,v 1.34 2010/10/11 21:50:46 nijtmans Exp $
*/
-/* TODO: This file does not compile in UNICODE mode.
- * See [Freq 2965056]: Windows build with -DUNICODE
- */
-#undef UNICODE
-#undef _UNICODE
+#ifndef _MSC_VER
+/* On mingw and cygwin this doesn't work yet */
+# undef UNICODE
+# undef _UNICODE
+#endif
#include "tk.h"
#define WIN32_LEAN_AND_MEAN