summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
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/makefile.vc
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/makefile.vc')
-rw-r--r--win/makefile.vc6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 7cc2423..11ed0f3 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -13,7 +13,7 @@
# Copyright (c) 2003-2008 Pat Thoyts.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.132 2010/10/11 12:27:32 nijtmans Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.133 2010/10/11 21:50:46 nijtmans Exp $
#------------------------------------------------------------------------------
# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR)
@@ -331,6 +331,7 @@ TKOBJS = \
$(TMP_DIR)\tkListbox.obj \
$(TMP_DIR)\tkMacWinMenu.obj \
$(TMP_DIR)\tkMain.obj \
+ $(TMP_DIR)\tkMain2.obj \
$(TMP_DIR)\tkMenu.obj \
$(TMP_DIR)\tkMenubutton.obj \
$(TMP_DIR)\tkMenuDraw.obj \
@@ -798,6 +799,9 @@ $(TMP_DIR)\winMain.obj: $(WINDIR)\winMain.c
-DTCL_USE_STATIC_PACKAGES=$(TCL_USE_STATIC_PACKAGES) \
-Fo$@ $?
+$(TMP_DIR)\tkMain2.obj: $(GENERICDIR)\tkMain.c
+ $(cc32) -DBUILD_tk $(TK_CFLAGS) -DTK_ASCII_MAIN -Fo$@ $?
+
# The following objects are part of the stub library and should not
# be built as DLL objects but none of the symbols should be exported
# and no reference made to a C runtime.