summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2007-12-14 02:27:07 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2007-12-14 02:27:07 (GMT)
commit8ae428cebfc46efcf400bdfa5bad949fd025bf15 (patch)
tree58d0c5340cf466e2bcdec8294ecd5b232455623d /win/makefile.vc
parent7ead37405337a720e68dfc763357d28c423ca346 (diff)
downloadtcl-8ae428cebfc46efcf400bdfa5bad949fd025bf15.zip
tcl-8ae428cebfc46efcf400bdfa5bad949fd025bf15.tar.gz
tcl-8ae428cebfc46efcf400bdfa5bad949fd025bf15.tar.bz2
Support compilation with MSVC9 on AMD64
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 9b6aa79..43cd63e 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001-2004 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.174 2007/12/13 15:28:43 dgp Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.175 2007/12/14 02:27:11 patthoyts Exp $
#------------------------------------------------------------------------------
# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR)
@@ -480,8 +480,10 @@ baselibs = kernel32.lib user32.lib ws2_32.lib
# Avoid 'unresolved external symbol __security_cookie' errors.
# c.f. http://support.microsoft.com/?id=894573
!if "$(MACHINE)" == "IA64" || "$(MACHINE)" == "AMD64"
+!if $(VCVERSION) > 1399 && $(VCVERSION) < 1500
baselibs = $(baselibs) bufferoverflowU.lib
!endif
+!endif
#---------------------------------------------------------------------
# TclTest flags